G
gert
This is how my sun-web.xml looks like
{code}<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD
Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/
appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
<context-root>/warTest</context-root>
<resource-ref>
<res-ref-name>jdbc/mypool</res-ref-name>
<jndi-name>jdbc/mysql</jndi-name>
</resource-ref>
</sun-web-app>{code}
and this is how my code looks like
http://appwsgi.googlecode.com/svn/trunk/sun/classes/Query.java
Now how do i actually make a mysql pool on a webserver 7
{code}<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD
Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/
appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
<context-root>/warTest</context-root>
<resource-ref>
<res-ref-name>jdbc/mypool</res-ref-name>
<jndi-name>jdbc/mysql</jndi-name>
</resource-ref>
</sun-web-app>{code}
and this is how my code looks like
http://appwsgi.googlecode.com/svn/trunk/sun/classes/Query.java
Now how do i actually make a mysql pool on a webserver 7