This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 12759
    
    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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: manual servlet reloading
 
Similar Threads
Capturing Form Data
javascript, servlets and SVG
Export in Excel
How can I change the sdk version of Websphere 4 if I already install it
Is there any way to get Servlet Init Parameter using EL?