<context>
<Resource name="jdbc/mysqlmulti"
auth="Container"
driverClassName="com.mysql.jdbc.Driver"
type="javax.sql.DataSource"
url="jdbc:mysql://localhost:3306/mymulti"
username="root"
password="manager2"
maxActive="500"
maxIdle="100"
maxWait="-1"/>
</context>
--프로젝트내/WEB-INF/web.xml--
<resource-ref>
<description>Connection</description>
<res-ref-name>jdbc/mysqlmulti</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
'JSP > Tomcat 6.0 설정' 카테고리의 다른 글
MySQL JDBC 환경설정 + Tomcat 8.0 (1) 설정 (0) | 2015.04.10 |
---|---|
Apache Tomcat 6.0 다운로드/설치 하기 (2) | 2013.01.30 |
지금까지 회원가입 웹프로그램 (0) | 2012.06.07 |
proj (0) | 2012.05.24 |
우편번호 톰캣에서 돌려보자 (0) | 2012.05.21 |