Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet reloading

 
Eric Abadie
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Servlet located in jakart-tomcat/webapps/ROOT/WEB-INF/classes. Every time I make a change to my servlet and recompile I am obligated to shutdown the server so it can recognise the change...very irritating.
I even verified the server.xml file located in jakart-tomcat/conf and found :
<Context path="" docBase="webapps/ROOT" debug="0" reloadable="true" >
</Context>
... so why isn't it working?
I am using Tomcat 3.1 with Windows XP Professional and JDK 1.3
I originaly posted this question in the Tomcat thread but nobody is responding...I thought this thread might give better results
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your servlet does not have an entry in the web.xml file for ROOT, it won't be reloaded. Could this be the problem?
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic