Hi Stéphane Zuckerman,

Thanks for your response. Can u please tell me how can I close the
connection if the user close the window directly because I am not maintain
any session in the window


----- Original Message ----- 
From: "Stéphane Zuckerman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, July 25, 2005 5:34 PM
Subject: Re: DB Connection


Vijay K Anand a écrit :
> hi
>
> How to share the saem db connection across user requests..without
> exhausitn the connection pool.
>
> regards
> Vijay

You could create a plugin that connects to the Database when launching
the webapp, then put the handler in the servlet context. Then you could
retrieve it from there, or try to put it in the session scope at the
beginning of the user's session.

-- 
Stéphane Zuckerman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to