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=5390>. 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=5390 jsp-file and load-on-startup and init-param does not work. Summary: jsp-file and load-on-startup and init-param does not work. Product: Tomcat 3 Version: 3.3 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Webapps AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following code in the web.xml does not fire up the jsp on startup. In the web.dtd, it states: <!-- The servlet element contains the declarative data of a servlet. If a jsp-file is specified and the load-on-startup element is present, then the JSP should be precompiled and loaded. --> No matter what I did, tomcat would not compile and load the jsp on startup. I have an jspInit() method in the jsp which grabs the init parmameters and nothing happens. I notice in the logs that the "LoadOnStartupInterceptor: Initializing JSP with JspWrapper" is invoked but nothing happens. No compile is done until I call it manually with a browser. And even when I do, the jspInit method fires but there are no config.getInitParameter("param1") there? Please advise. Thank you. I noticed there is a bug id 4518 with a similar problem, but that was for tomcat 4. ================================================================ <servlet> <servlet-name>loadonstartup</servlet-name> <jsp-file>/loadonstartup.jsp</jsp-file> <init-param> <param-name>param1</param-name> <param-value>ValueOfParam1</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> ================================================================ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>