DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15084>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15084 preloaded jsp's have their init method called again on first hit Summary: preloaded jsp's have their init method called again on first hit Product: Tomcat 4 Version: 4.1.16 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If you have a jsp with a jspInit method, and you preload this jsp, the jspInit method gets called, as it should, upon server startup. But now if you hit that jsp with your web browser, Tomcat calls the jspInit method again. (If you hit the jsp a second time, it's ok, doesn't call jspInit a third time.) I will attach a war file that demonstrates this problem. Simply load this application (test_app.war) and two pages (preload1.jsp, preload2.jsp) each print out that their jspInit methods are called. Then hit the pages (http://host:port/test_app/preload1.jsp, etc.) and see that they print out (to System.out) that their jspInit methods are called once more. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
