/ Published in: XML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="#[jdbc.driverClassName]"/> <property name="url" value="#[jdbc.url]"/> <property name="username" value="#[jdbc.username]"/> <property name="password" value="#[jdbc.password]"/> <property name="maxActive" value="100"/> <property name="maxWait" value="1000"/> <property name="poolPreparedStatements" value="true"/> </bean>