若在Server.xml中增加
(path为你所部署的url索引,在访问的时候使用,如:http://localhost:8080/notebook)
factory="org.objectweb.jotm.UserTransactionFactory"
jotm.timeout="60" />
maxIdle="2" maxWait="5000" username="sa"
url="jdbc:microsoft:sqlserver://192.168.0.193:1433;DatabaseName=test_cyber3;SelectMethod=cursor" maxActive="4"/>
maxIdle="2" maxWait="5000" username="sa"
url="jdbc:microsoft:sqlserver://192.168.0.193:1433;DatabaseName=test_cyber3" maxActive="4"/>
若在
A:在WEB-INF/web.xml 中配置如下:
B:在yoursApp\META-INF\context.xml, 如下:
reloadable="true"
crossContext="true">
没有评论:
发表评论