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=9979>. 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=9979 load-on=startup without explicit order doesn't work with jsp-file Summary: load-on=startup without explicit order doesn't work with jsp-file Product: Tomcat 4 Version: 4.0 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Following is part of a web.xml file to talk about. <servlet> <servlet-name>foo_jsp</servlet-name> <jsp-file>/foo.jsp</jsp-file> <load-on-startup></load-on-startup> <!-- Note there is no integer inside the tag above. --> </servlet> The bug is that in this particular case - where there is no integer inside the load-on-startup tag, the load-on-startup has no effect. It does work if an integer (e.g. 1) is placed inside the load-on-startup tag -- but the Servlet 2.2/2.3 spec says that you don't need to specify number. It should work w/o one. Note also, Servlets (as opposed to JSP's) do work fine without a number. Just a problem with jsp's (from my testing). This bug has an easy workaround, which is to always put a number, but it's annoying if you have a lot of JSP's that you want to preload and you have to add a number for all when you really don't care about the order. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>