Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Servlet reloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet reloading" Watch "Servlet reloading" New topic
Author

Servlet reloading

Eric Abadie
Greenhorn

Joined: Dec 08, 2001
Posts: 13
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

Joined: Mar 22, 2000
Posts: 12769
    
    5
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
 
wood burning stoves
 
subject: Servlet reloading