Java servlet and database connection pool deployment

xiaoxiao2021-03-06  50

Title: Java Servlet and Database Connection Pool

Keywords: servlet connection pool

Author: jrq

text:

Test web application environment: Win2k Pro Tomcat 5.0

Note the deployment order in the servlet and the connection pool in the web.xml file in the web application.

In the Web.xml file, in the tab, you need to write and , then write .

Otherwise, Tomcat is started at the time of this web application could not start normally. This web application could not access it.

Web.xml simple showing of servlet and connecting pools simultaneously:

---------------

query

bookquery

query

/ query

Access Datasource Example

JDBC / Access

javax.sql.datasource

container

------------------

BY JRQ

2004.11.30 in the stone market

转载请注明原文地址:https://www.9cbs.com/read-83711.html

New Post(0)