This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes How to reload context in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to reload context in eclipse" Watch "How to reload context in eclipse" New topic

How to reload context in eclipse

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16473

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
wood burning stoves
subject: How to reload context in eclipse