E:/gsoft/tomcat/conf/server.xml

… <Context path="/w1" docBase="D:/Backup/Workspaces/MyEclipse 7.0/w1/WebRoot" reloadable="true"> <Resource name="jdbc/oracle" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@erpprod.oracle.com:1521:PROD" username="scott" password="tiger" maxActive="100" maxIdle="30" maxWait="10000" /> </Context> </Host

D:/Backup/Workspaces/MyEclipse 7.0/w1/WebRoot/WEB-INF/web.xml

… <resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/oracle</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app>

datasource.jsp