When you configured the datasource you gave it a name. Use that as a key to lookup the datasoruce using findDataSource( String name )
Taylor -----Original Message----- From: Rubens Gama [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 2:38 PM To: Struts-User Subject: datasources i have two datasources defined in the struts-config.xml. how can i reference each one from my application? for example: servlet.findDataSource(1) or servlet.findDataSource(2) thanks in advance -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

