Perhaps you can work around this, at least for the layout / markup bits, by copying the updated markup files to the appropriate webapp directory.
Take a look at the exploded WAR file and find where your markup file is located. You can either change this or transfer the updated file there. Update your browser later and your layout should be changed!
You can probably do it faster by adding the ANT command for this. I work with Netbeans and I am not very good with ANT (and my deadlines do not give me time to figure this out), so I made a small shell script that 'cp all my files in exploded WAR directories.
If you change Java or configuration files, you will need to reinstall WAR. I'm not sure which version of Tomcat you are using, but for this on my Tomcat 6 instance, just moving the WAR file to the webapps directory will force Tomcat to pick it up and reinstall it.
Do not worry! The hot deployment functionality of Tomcat 6 works fine, but it does not free the PermGen memory used by the previous deployment correctly. Therefore, after several hot deployments, Tomcat starts throwing "PermGen error: Out of Memory" exceptions, and your only regression is a reboot.
source share