tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich.Kleeber...@witt-weiden.de
Subject execution order of context listener and servlets
Date Wed, 03 Dec 2003 07:24:54 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message