Hi,
I worked in a
struts database application, which access the oracle database using commons datasource and I configured it in the struts-config.xml and set it in the resource reference to access from JNDI.I followed the
java case sensistiveness and no typos.I specified the type of the datasource as org.apache.commons.dbcp.BasicDataSource with key "jdbc/testess", that was configured as JNDI name using resource reference utility in the Netbeans
IDE. In the resource reference, I specified the type as javax.sql.DataSource. Should it be differ from the type attribute of the datasource element specified in the struts-config.xml ? But in the resource reference, there is no option for the type org.apache.commons.dbcp.BasicDataSource but only four option among them I chose javax.sql.DataSource. I have given the code here. Please provide your valuable help to solve the problem.
with best regards,
Ramesh K