Nic,
I loose you on this one. I won't copy the spec here, but if I understand
the phrasing in the DTD comment (page 65 in the Servlet 2.2 spec), then
it means that servlets with the load-on-startup tag shall be loaded when the
web application is started, the way I read it is that they will be loaded
when the servlet engine is started or when the web application is reloaded
somehow. Am I mis-interpreting this?
As for the order among them, which was Rob's question, then it looks even
clearer to me that the integer content of the load-on-startup tag shall
control
this (lower numbers loaded earlier).
The spec doesn't imply anything about the inter-application order
(e.g. the order servlets from different web applications are loaded).
Thanks,
--Amos
> -----Original Message-----
> From: Nic Ferrier [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 4:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet Spec and Global Startup Servlets
>
>
> >>> Rob van Oostrum <[EMAIL PROTECTED]> 26-Jun-00 2:09:18 PM >>>
>
> >yes, but does this guarantee you the order in which
> >the different <load-on-startup> servlets are loaded
> >on startup?
>
> No. It doesn't.
>
> Different servlet containers *may* implement different loading
> schemes... it would probably depend on the parser. I imagine most
> would load in the order given in the file.
>
> But from what I rememeber this is NOT a gaurantee.
>
> Searching back through the archives might help with this because it
> was discussed before.
>
>
> Nic
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html