aspose file tools*
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: 16065
    
  21

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to reload context in eclipse