tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mercy <techme...@gmail.com>
Subject Re: Why HttpSessionEvent comes prior to ServletRequestEvent
Date Thu, 01 Apr 2010 09:31:09 GMT
Thanks,but I can't understand why not ServnetRequestEvent comes first?

Kind regards,
Mercy

Mark Thomas wrote:
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message