aspose file tools
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet reloading" Watch "Servlet reloading" New topic

Servlet reloading

Eric Abadie

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" >
... 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

Joined: Mar 22, 2000
Posts: 12889
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?
It is sorta covered in the JavaRanch Style Guide.
subject: Servlet reloading