File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes servlet reloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "servlet reloading" Watch "servlet reloading" New topic

servlet reloading

Sangeetha Selvaraj

Joined: Jan 12, 2004
Posts: 17
How to turn on servlet reloading in tomcat 5.0?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Since this is a Tomcat setup issue, moving to the Tomcat forum.

[Asking smart questions] [About Bear] [Books by Bear]
Ariel Valentin
Ranch Hand

Joined: Jan 30, 2004
Posts: 44
There are two ways:
Either set all of the webapps to a default of reloadable by adding the following to your server.xml just above the first Context tag
or do it on an individual basis per context by adding the reloadable="true" as an attribute.
For example:
Hope that helps

A. Valentin
Sangeetha Selvaraj

Joined: Jan 12, 2004
Posts: 17
thanks so much!
I agree. Here's the link:
subject: servlet reloading
It's not a secret anymore!