<?xml version="1.0" encoding="UTF-8"?>
<!-- The contents of this file will be loaded for each web application -->
<Context reloadable="true">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<Resource
name="kone"
type="javax.sql.DataSource"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
username="sa"
password="kone"
maxIdle="10"
maxWait="5000"
url="jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ShopWeb"
maxActive="200"/>
</Context>
具体项目对应内容就不多说了
最新评论