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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply 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: 14491
    
    7

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to reload context in eclipse
 
Similar Threads
Tomcat configuration
Need to reload the application from the same application
J2EE Web Server
Causing Tomcat to reload automatically after changes have been made server.xml
Refreshing JSP and servlet in TOMCAT3.2