/ Published in: XML

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- META-INF/context.xml --> <?xml version="1.0" encoding="UTF-8"?> <Context path="Products"> <Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="100" maxIdle="30" maxWait="10000" name="jdbc/ProductData" password="developer" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/product_entry?autoReconnect=true" username="developer"/> </Context> <!-- WEB-INF/web.xml --> <resource-ref> <description>Database for IFPWAFCAD application</description> <res-ref-name>jdbc/ProductData</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref>
Comments
