For example, I’ve removed a simple javascript alert message in a jsp page i’m making. When I save it while having tomcat running in the background, it should be able to do a hot swap. However, it failed to do that. So, I terminate my tomcat server and redeployed my app to make sure my changes are already there. However, when I started it back on then browsed into the jsp, the alert message is still there.
I’m speculating that tomcat fails to rebuild the jsp classes found in its tomcat5.5/work/catalina/localhost folder (where jsp converted to classes are there). I had to delete my web app folder there to force tomcat to make a new build everytime I made changes in my jsp pages.
Is there any way to fix this?