my dog learned polymorphism
The moose likes Tomcat and the fly likes servlet reloading Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "servlet reloading" Watch "servlet reloading" New topic
Author

servlet reloading

Sangeetha Selvaraj
Greenhorn

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

Joined: Jan 10, 2002
Posts: 56528
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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
Greenhorn

Joined: Jan 12, 2004
Posts: 17
thanks so much!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: servlet reloading
 
Similar Threads
Executing servlets using Tomcat
InitParameters
How Replace Servlet When Tomcat is running ????
How Replace Servlet When Tomcat is running ????
Example for load a servlet repeatedly