• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Reloadable True

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic