File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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