jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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: 12761
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet reloading
 
Similar Threads
Changing docbase?
Custom error 404 page
Error: Can not create bean of class Myclass
Why is Servlet Reloading not functioning?
Unable to create a bean for class myclass?