• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

How to reload context in eclipse

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m making struts project .i m using myeclispe plugin Whenever i make changes in web.xml ,it automatically deploy code and reload the context automatically.
But when i make any changes in validations.xml it not reload the context .I have to manually reload the context using tomcat manager.I want to know is there any shortcut to reload context .Is there any configuration i need to done so that it automatically reload context whenever i change validations.xml
 
Saloon Keeper
Posts: 21307
140
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat can dynamically reload a lot of things, but a dynamic update won't affect things done by servlet init() methods. For that, at a minimum, you'd need to stop and restart the webapp. I always simply restart the entire Tomcat server, since in a test environment, it's just as fast and easier for me to do.
 
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!