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>
<body>This is a test</body>
</html>
and in my web.xml I added:
<servlet>
<servlet-name>testinit</servlet-name>
<jsp-file>/test.jsp</jsp-file>
<load-on-startup>1</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