struts-config.xml中配置数据源<data-source>中的Type怎么写呀!
来源:百度知道 编辑:UC知道 时间:2024/05/21 07:51:42
在struts-config.xml中配置数据源<data-source>中的Type怎么写呀!
我查资料好象是写"org.apache.catalina.core.StandardWrapperValve"
但是我没有找到这个文件在那里,请帮助一下了!
在线等哟!
我查资料好象是写"org.apache.catalina.core.StandardWrapperValve"
但是我没有找到这个文件在那里,请帮助一下了!
在线等哟!
我在struts-config.xml配置如下:
<data-sources>
<data-source key="sqlserver" 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;DatabaseName=struts"/>
<set-property property="maxActive"
value="5" />
<set-property property="username"
value="sa" />
<set-property property="password"
value="" />
<set-property property="autoCommit"
value="true" />
</data-source>
</data-sourc
struts config.xml
struts 中怎么配置多个struts-config.xml文件
多个struts-config的问题
帮忙解析一下struts-config.xml里的一些声明
怎样在struts中的struts-config.xml中建立sql2000数据源。
把struts-config.xml文件换了地方放,项目里哪些地方的配置应该修改?
如何在struts-config.xml配置多个plug-in插件
是不是用了DispatchAction文件,struts-config.xml都至少要有一个parameter?
请大家看一下,在struts-config.xml中的<plug-in>是做什么的?谢谢
struts求助