jsp pages cahces on struts 2007-11-06 - By Dale Newfield
Back Odelya Glick wrote: > I deleted the files under: > TOMCAT_HOME\work\Cataline\localhost\myProjectName > > But is there a better way to never cache it?
.jsp gets converted to .java which then gets compiled to a .class, which is then loaded and executed. You do *not* want to go through that process for every single .jsp render.
Probably the reason you had caching problems is that in one of your changes you broke the .jsp, so it was unable to create a (new, valid) .java file (so a new .class was not generated, didn't replace the previous one, and you were left with the previous page). Look in your logs for the .jsp compile error.
-Dale
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|