You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Francy121 <fr...@email.it> on 2009/12/28 00:52:57 UTC
Routine to execute automatically before Session Server end.
Hi all,
I'm using TomCat 6.x for the execution of JSP pages.
When an user log in to my web application, TomCat create a new Server
Session that is closed a few seconds ago the user's inactivity.
I would enforce the Tomcat to execute, automatically, a routine contained in
the .JAR library BEFORE the session ending.
There is any solution to do this?
Thank You very much.
Francy.
--
View this message in context: http://old.nabble.com/Routine-to-execute-automatically-before-Session-Server-end.-tp26938347p26938347.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Routine to execute automatically before Session Server end.
Posted by Hassan Schroeder <ha...@gmail.com>.
On Mon, Dec 28, 2009 at 12:53 AM, Pid <pi...@pidster.com> wrote:
>>> I would enforce the Tomcat to execute, automatically, a routine contained
>>> in the .JAR library BEFORE the session ending.
>>
>> javax.servlet.ServletContextListener
> Or javax.servlet.http.HttpSesssionListener?
Jeez, apparently I say silly things while under the influence of football.
Yes, HttpSessionListener is what I had in mind.
(At least the 49ers won...)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Routine to execute automatically before Session Server end.
Posted by Pid <pi...@pidster.com>.
On 27/12/2009 23:58, Hassan Schroeder wrote:
> On Sun, Dec 27, 2009 at 3:52 PM, Francy121<fr...@email.it> wrote:
>
>> When an user log in to my web application, TomCat create a new Server
>> Session that is closed a few seconds ago the user's inactivity.
>> I would enforce the Tomcat to execute, automatically, a routine contained in
>> the .JAR library BEFORE the session ending.
>> There is any solution to do this?
>
> javax.servlet.ServletContextListener
>
Or javax.servlet.http.HttpSesssionListener?
p
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Routine to execute automatically before Session Server end.
Posted by Francy121 <fr...@email.it>.
>javax.servlet.ServletContextListener
Thank you! :)
--
View this message in context: http://old.nabble.com/Routine-to-execute-automatically-before-Session-Server-end.-tp26938347p26938907.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Routine to execute automatically before Session Server end.
Posted by Hassan Schroeder <ha...@gmail.com>.
On Sun, Dec 27, 2009 at 3:52 PM, Francy121 <fr...@email.it> wrote:
> When an user log in to my web application, TomCat create a new Server
> Session that is closed a few seconds ago the user's inactivity.
> I would enforce the Tomcat to execute, automatically, a routine contained in
> the .JAR library BEFORE the session ending.
> There is any solution to do this?
javax.servlet.ServletContextListener
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org