以下是test webapp 下的WEB-INFO web.xml文件
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>My Web Application</display-name> <description> A application for test. </description> <!--Mysql Database Config start --> <resource-ref>
<description>sql/Index.html'>mysqlDB Connection</description>
<res-ref-name>jdbc/sql/Index.html'>mysql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<!-- Mysql Database Config end -->
<!-- Sqlserver Database Config start --> <resource-ref> <description>sqlserverDB Connection</description>
<res-ref-name>jdbc/sqlserver</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] 下一页
|