This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet reloading Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 12327
    
    1
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


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Servlet reloading
 
Similar Threads
Custom error 404 page
Error: Can not create bean of class Myclass
Unable to create a bean for class myclass?
Changing docbase?
Why is Servlet Reloading not functioning?