The documentation still lists the old way of how to retrieve a datasource 
which has been setup in struts-config.xml using findDatasource();

The API says to "use datasource stored in attributes".  Can someone give an 
example of how I might do this from within my execute method?  I want to get 
rid of my deprecation warnings for findDatasource()

As well, I believe you can have multiple datasources setup in 
struts-config.xml.  The default datasource being keyed by 
org.apache.struts.action.Action.DATA_SOURCE_KEY.  Could someone point me to 
an example of multiple datasources and how to setup keys for each?

Thanks,

Craig.

Craig W. Tataryn
Programmer/Analyst
Compuware

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to