thanks for the info bill.
"Bill Barker"
<[EMAIL PROTECTED] An: [EMAIL PROTECTED]
.com> Kopie:
Gesendet von: Thema: Re: execution order of
context listener and servlets
news
<[EMAIL PROTECTED]
rg>
03.12.03 09:58
Bitte antworten
an "Tomcat Users
List"
In the Servlet-2.4 spec (aka Tomcat 5), it explicitly specifies Tomcat's
order. @See section 9.12. It isn't explicitly specified in the
Servlet-2.3
spec, so technically oracle isn't wrong. However, because of the spec
change, they will have to match Tomcat's order in their Servlet-2.4
release.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
.
> hi guys,
>
> i have a question about der execution order of the
> ServletContextListener.contextInitialized() method and the init() method
of
> an servlet.
>
> In my web.xml i have a servlet with load
> <load-on-startup>1</load-on-startup> declared.
> besides i have declared an ServletContextListener.
>
> in tomcat the ServletContextListener executes first and then der init()
> method of the servlet.
>
> in ias (oracle) the servlets init() method executes first and then the
> ServletContextListener.
>
> i thought the ServletContextListener has to execute first.
> is this right or am i missing something?
>
> servus uli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
