• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to reload context in eclipse

 
amit sharma
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
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic