I�m using MyEclipse as the IDE to develop struts application. I am a newbie to this topic (but doing just fine)
Anyway, I do this: I write my code, deploy it, run Tomcat and than I click the site to see the results.
sometime I am changing the words or the code and than want to see the changes, for this, and this is the point I think I do wrong, I STOP Tomcat, Redeploy, START tomcat and refer back to the site (imagine the how long it takes)
Is there a better way only to redeploy so everything will take effect immediately? Why when I change something in the AppliatinResources it doesn't kick in? Thanks
Instead of restarting Tomcat, it is sufficient to just restart the web application. You can do this from the Tomcat Manager web app, which is linked in the upper left corner of your Tomcat home page, or directly at http://localhost:8080/manager/html. There you'll see all your web apps listed, and you can use the reload link on the right side. That's much faster than restarting the whole server. [ January 29, 2006: Message edited by: Ulf Dittmer ]
If you use WebSphere Studio Application Developer (WSAD) or Rational Application Developer (RAD) with Websphere, it will also automatically detect and apply changes to your test environment. However, you still have to be careful about certain things.
For example, changes to your ApplicationResources.properties file require restarting the application, as they only get loaded at startup time. Also, changes to static variables in classes seem to require a restart of the application.