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
>
>
>
|