aspose file tools*
The moose likes JSP and the fly likes index.jsp problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "index.jsp problem" Watch "index.jsp problem" New topic
Author

index.jsp problem

Brendan Kennedy
Ranch Hand

Joined: May 02, 2001
Posts: 65
Hey
This is probably a basic question, but my index.jsp is not being processed, instead i just get the text of the file which is not even being treated as html by my browser. I've spoken to the webmaster and he showed me that it was listed with index.html, index.php etc. in one of the apache conf files. Does anybody know how to fix this problem? At the moment I'm using a meta tag in index.html to automatically load the jsp but it's not good enough.
thanks,
Brendan
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
it might be a silly question but you do have a java server serving the thing and not just apache right? the java has to be processed by a special kind of server


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Meera Chandrasekaran
Greenhorn

Joined: Jan 08, 2002
Posts: 10
may be you should add "index.jsp" to your list fo welcome-files in web.xml

Originally posted by Brendan Kennedy:
Hey
This is probably a basic question, but my index.jsp is not being processed, instead i just get the text of the file which is not even being treated as html by my browser. I've spoken to the webmaster and he showed me that it was listed with index.html, index.php etc. in one of the apache conf files. Does anybody know how to fix this problem? At the moment I'm using a meta tag in index.html to automatically load the jsp but it's not good enough.
thanks,
Brendan
Brendan Kennedy
Ranch Hand

Joined: May 02, 2001
Posts: 65
Thanks for the replies, but I think it's because there's no tomcat-apache.conf file on the server. I did some research and it seems you need it to be linked to in httpd.conf as well as having the index.jsp entry. After all it was being treated as an index file, it was just not being processed by tomcat.
Brendan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: index.jsp problem