This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes manual 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 » Products » Tomcat
Bookmark "manual servlet reloading" Watch "manual servlet reloading" New topic
Author

manual servlet reloading

penta valle
Greenhorn

Joined: Sep 21, 2004
Posts: 2
is there any way to reload a servlet without restarting the container?
perhaps dealing with tomcat classloader.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
The Tomcat Management Application allows you to do just that. The documentation was installed with tomcat in the tomcat-docs directory. You will need to modify the tomcat-users.xml file to provide a manager role and user in that role.
Bill
penta valle
Greenhorn

Joined: Sep 21, 2004
Posts: 2
no, i'd want to reload a single servlet within the same web application.......... i.e. i want to create a servlet thet reloads another servlet of the same app. any ideas?
 
 
subject: manual servlet reloading