File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "manual servlet reloading" Watch "manual servlet reloading" New topic

manual servlet reloading

penta valle

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

Joined: Mar 22, 2000
Posts: 13037
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.
penta valle

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?
I agree. Here's the link:
subject: manual servlet reloading
It's not a secret anymore!