jQuery in Action, 3rd edition
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
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
Author

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: 17039
    
  26

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.


An IDE is no substitute for an Intelligent Developer.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to reload context in eclipse
 
It's not a secret anymore!