Re: wrong jspInit handling
Stefano Nichele wrote: You are right, sorry. Apache Tomcat 6.0.13 jdk1.6.0_10 Windows XP SP3 but I was able to reproduce it with: Apache Tomcat 6.0.13 jdk1.6.0_07 CentOS release 5.2 Cheers, ste Looks like https://issues.apache.org/bugzilla/show_bug.cgi?id=41606 Try 6.0.20 Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: wrong jspInit handling
Stefano Nichele wrote: Am I missing something ? Yes (well your question is anyway). Most importantly: the Tomcat version you are using. Less important but usually worth mentioning: the JDK and OS you are using. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: wrong jspInit handling
You are right, sorry. Apache Tomcat 6.0.13 jdk1.6.0_10 Windows XP SP3 but I was able to reproduce it with: Apache Tomcat 6.0.13 jdk1.6.0_07 CentOS release 5.2 Cheers, ste Mark Thomas wrote: Stefano Nichele wrote: Am I missing something ? Yes (well your question is anyway). Most importantly: the Tomcat version you are using. Less important but usually worth mentioning: the JDK and OS you are using. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
wrong jspInit handling
Hi All, I'm experiencing some strange calls to jspInit method. I've this simple jsp: %! public void jspInit() { System.out.println(In test.jspInit); } public void jspDestroy() { System.out.println(In test.jspDestroy); } % html bodyThis is a test/body /html and in my web.xml I added: servlet servlet-nametestinit/servlet-name jsp-file/test.jsp/jsp-file load-on-startup1/load-on-startup /servlet Load-on-startup works fine as i can see In test.jspInit during the startup. The issue is that also the first request to test.jsp triggers a call to jspInit. Is it the expected behavior ? Am I missing something ? Cheers and thanks ste - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org