<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
注意res-ref-name填写的内容要与在上文提到的JNDI Name名称一致。 4. 下载sql/Index.html'>mysql jdbc 驱动 sql/Index.html'>mysql-connector-java-3.1.9.zip
解压后找到如下jar包 sql/Index.html'>mysql-connector-java-3.1.9-bin.jar 这个jar包copy 到 %tomcat_home% \common\lib 下。 sql/Index.html'>mysql 配置完毕
这是conf 下 server.xml 文件 的配置部分 <GlobalNamingResources> <Environment name="simpleValue" type="java.lang.Integer" value="30"/> <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase"
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] 下一页
|