https://issues.apache.org/bugzilla/show_bug.cgi?id=49917

--- Comment #1 from Chuck Caldarale <chuck.caldar...@unisys.com> 2010-09-12 
09:57:00 EDT ---
(In reply to comment #0)
> javax.servlet.ServletRequestListener instances are called in the same sequence
> after (requestDestroyed) the request as they are before (requestInitialized).

As stated in SRV.10.3.3 of the spec:

"The Web container registers the listener instances according to the interfaces
they implement and the order in which they appear in the deployment descriptor.
During Web application execution, listeners are invoked in the order of their
registration."

Section SRV.10.3.4 of the spec explicitly states reverse invocations is done
only for shutdown events:

"On application shutdown, listeners are notified in reverse order to their
declarations with notifications to session listeners preceeding [sic]
notifications to context listeners.  Session listeners must be notified of
session invalidations prior to context listeners being notified of application
shutdown."

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to