You could write a PlugIn(new to Struts 1.1) to open a db connection and
store it in the session context. I would remember to close it in the
destroy() method.

Only an idea.

Marco

-----Original Message-----
From: Andre Michel [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 8:53 PM
To: Struts Users Mailing List
Subject: [newbie] Connection Pooling


Folks,

quite new to Struts and it's way to JPS-Action-etc. chaining I'd like to
know the following. Is their a way to keep open a certain connection to a
database between two actions, e.g. I have a EditGetAction where I
prepopulate a form, then show the jsp and make the user work and finally
after validation write the (maybe) changed fields back into the database ???

Hope, this is not a absolutely stupid question ...


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

Reply via email to