<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName"
value="com.microsoft.jdbc.sqlserver.SQLServerDriver" />
<set-property property="url"
value="jdbc:microsoft:sqlserver://127.0.0.1:1433;database=labsystem" />
<set-property property="username" value="sa" />
<set-property property="password" value="hansome000" />
<set-property property="maxActive" value="20" />
<set-property property="maxWait" value="5000" />
<set-property property="maxIdle" value="-1" />
<set-property property="autoCommit" value="true" />
</data-source>
</data-sources>
struts连接池的struts.xml配置
最新推荐文章于 2018-12-17 11:43:50 发布