Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reloadable True

 
Neha Ashok
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 111
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic