Nope, that still gives me the error. I have grepped thriough the classes looking for "java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource"
??? any ideas -----Original Message----- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 11:47 AM To: Struts Users Mailing List Subject: Re: data-source configruation question Hi. u missed to call the data-source key u specified in ur struts-config.xml In ur struts-config.xml: U have: <data-source type="org.apache.commons.dbcp.BasicDataSource"> It must be: <data-source key="myDB" type="org.apache.commons.dbcp.BasicDataSource"> In ur action class: U have: dataSource = getDataSource(request); It must be: dataSource = getDataSource(request,"myDB"); And about <data-sources> being depreciated, there are others possibilities to connect to ur database. But u decide what to use. -- Rafael Taboada --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]