i'm trying to connect to an Access database locally but im having trouble setting up my data-sources. can anyone tell me if this is the proper syntax in struts-config.xml for doing such a thing...

<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource" key="database">
<set-property property="driverClass" value="sun.jdbc.odbc.JdbcOdbcDriver"/>
<set-property property="url" value="c:/SHS.mdb"/>
</data-source>
</data-sources>

then...

ServletContext context = servlet.getServletContext();
DataSource dataSource = (DataSource) context.getAttribute("database");

Connection con= dataSource.getConnection();
Statement stmt = con.createStatement();


I'm having trouble finding adequate documentation on the issue.