File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: easy Tomcat 5 question about reloading a JSP
 
Similar Threads
How to run jsp on TOMCAT?
How to get environment variable?
JSP file location under Tomcat
Configuration questions for Tomcat
What's the problem