Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

easy Tomcat 5 question about reloading a JSP

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apparently, it's precompiled into a servlet and there's a mapping to it in web.xml, so you have to remove that mapping...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic