This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes easy Tomcat 5 question about reloading a JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "easy Tomcat 5 question about reloading a JSP" Watch "easy Tomcat 5 question about reloading a JSP" New topic
Author

easy Tomcat 5 question about reloading a JSP

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
I'm playing with Tomcat 5, and I'm trying to add some text in the HTML of the index.jsp in the webapps\ROOT directory, but when I reload the page (that I get to by typing localhost in IE's address bar), that text doesn't appear. I've tried restarting Tomcat and I found a catalina-root.jar in the WEB-INF\lib directory under the ROOT directory and I deleted that in an additional effort to get it to recompile the JSP, but nothing seems to help it get recompiled so that my text appears on that page. Any ideas why?
Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
Apparently, it's precompiled into a servlet and there's a mapping to it in web.xml, so you have to remove that mapping...
 
 
subject: easy Tomcat 5 question about reloading a JSP
 
Similar Threads
How to run jsp on TOMCAT?
JSP file location under Tomcat
Configuration questions for Tomcat
What's the problem
How to get environment variable?