This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread 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 REST with Spring (video course) this week in the Spring forum!
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: 13025
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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: manual servlet reloading
It's not a secret anymore!