Struts stores the DataSources in the ServletContext under the key you defined.

David



From: Jimmy Emmanual <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Connection Pool
Date: Wed, 19 Mar 2003 19:18:11 -0500

How do you access a DataSource from an action class via its "key"? I have
multiple DataSources defined in the struts-config.xml file each have the
"key" property set. I need to access these based on this "key".

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


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



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



Reply via email to