wood burning stoves 2.0*
The moose likes Servlets and the fly likes Reloadable True 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 » Java » Servlets
Bookmark "Reloadable True" Watch "Reloadable True" New topic
Author

Reloadable True

Neha Ashok
Greenhorn

Joined: Dec 12, 2002
Posts: 26
I'm running my webappliation on Tomcat4.0.3.
I have set the following Configuration in server.xml:
<Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">

This works fine and my bean classes get reloaded every time I change the Java files , but is it possible to define the same property for ROOT directory to reload the classes?
Marty Hall
Author
Ranch Hand

Joined: Jan 02, 2003
Posts: 111
I'm running my webappliation on Tomcat4.0.3.
I have set the following Configuration in server.xml:
<Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">

This works fine and my bean classes get reloaded every time I change the Java files , but is it possible to define the same property for ROOT directory to reload the classes?

No prob. Set it for the DefaultContext. See
http://www.moreservlets.com/Using-Tomcat-4.html#Servlet-Reloading
Cheers-
- Marty


Java training and consulting
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reloadable True
 
Similar Threads
How to deploy my own directory in Tomcat?
How to configure automatic reloading the class in jboss-3.2.1_tomcat-4.1.24
web.xml andf default webapplication folder
Tomcat 4.1 & Servlet Reloading
Reloading Application