tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Why HttpSessionEvent comes prior to ServletRequestEvent
Date Thu, 01 Apr 2010 08:24:02 GMT
On 01/04/2010 07:19, Mercy wrote:
> Hi,
> 
>    I declared two listeners , the former is a ServletRequestListener,
> the later is HttpSessionListener.
> 
>    When a client request  calls the application first, why a
> HttpSessionEvent comes prior to ServletRequestEvent?

Because something is triggering session creation before the request hits
the first filter or servlet in the app.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message