JSP Page displays code
I have a site written in jsp sent to me by a client. We are running Apache 2.0 with Tomcat but some (index.jsp) pages simply return the jsp code to the browser instead of running the scripts whereas others run just fine. I am new to JSP however I have experience with ASP and Java so I have an idea of what is going on. There are no errors however and the files are all in the same directory. Here are links to pages that work and some that do not.
http://www.majorgamesinc.com/site/htdocs/index.jsp
http://www.majorgamesinc.com/site/htdocs/majorgames.jsp
[574 byte] By [
ruddigera] at [2007-11-26 17:33:11]

# 1
The type of the file is set incorrectly. I don't know what caused it to be set incorrectly.
But the type for index.jsp shows up as : jsp_auto_file
The correct type for JSP files is : JSP File (as it appears on file properties in MS Windows)
So try changing the files type or perhaps the MIME type (I'm not sure if you need to change the MIME type).
Once you change the file type, Tomcat/ Apache servers should be able to handle the files correctly as they handle the rest of the JSP files.
# 2
I don't know that this is actually the problem as the pages that do display only do so when viewed in IE ?!?!? When looking at the pages with fire fox, no matter what page I look at, they are all just displaying the code. It's not IE caching the page either because I am now on my work computer and I get the same results.