Re: DB Connection

2005-07-25 Thread Laurie Harper
Stéphane Zuckerman wrote: Senthilrajan VS a écrit : 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 These are two unrelated events : you want a client-side event to create

Re: DB Connection

2005-07-25 Thread Stéphane Zuckerman
Senthilrajan VS a écrit : 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 These are two unrelated events : you want a client-side event to create a s

Re: DB Connection

2005-07-25 Thread Senthilrajan VS
;Struts Users Mailing List" 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 t

Re: DB Connection

2005-07-25 Thread Stéphane Zuckerman
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

RE: DB Connection Best practice

2004-12-26 Thread uma.k
Hi Amit, Yes,the mail reached me. Thanks Uma -Original Message- From: Amit Gupta [mailto:[EMAIL PROTECTED] Sent: Monday, December 27, 2004 9:49 AM To: Struts Users Mailing List Subject: RE: DB Connection Best practice I sent you message in separate mail on Friday. Have you got that

RE: DB Connection Best practice

2004-12-26 Thread Amit Gupta
AM To: Struts Users Mailing List Subject: RE: DB Connection Best practice Hi Amit, Would appreciate if u can forward the same msg again to me too. As i am also a struggler i also might need it Thanks, Manisha Amit Gupta <[EMAIL PROTECTED]> wrote: Hi Uma, I use DBCP for this. Refer my m

RE: DB Connection Best practice

2004-12-25 Thread Manisha Sathe
Hi Amit, Would appreciate if u can forward the same msg again to me too. As i am also a struggler i also might need it Thanks, Manisha Amit Gupta <[EMAIL PROTECTED]> wrote: Hi Uma, I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am forwarding same to

RE: DB Connection Best practice

2004-12-23 Thread Amit Gupta
Hi Uma, I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am forwarding same to you on your personal ID. -Original Message- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 10:20 AM To: 'Struts Users Mailing List' Subject: D

RE: DB Connection Best practice

2004-12-23 Thread uma.k
Thanks Sunny, I will do that. Uma -Original Message- From: Sunny [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 10:27 AM To: Struts Users Mailing List Subject: Re: DB Connection Best practice Better practice would be delegating to a "handler" (application layer)

Re: DB Connection Best practice

2004-12-23 Thread Sunny
Better practice would be delegating to a "handler" (application layer) class and let it return data in form of some bean and use that in action. In this way you'll be isolating Controller from Business model. uma.k wrote: Hi, I wanted to insert a record into the database or update a record in th