
1.1修改tomcat的conf文件夹下的context.xml配置文件
[code lang=”xml” highlight=”0,16-22”]
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
-->
1 |
<!--more--> |
1.3 spring中使用数据源
[code lang=”xml”]
```




近期评论