ssh整合时各个配置文件需要修改添加的代码
2011-04-25 13:39
495 查看
struts-config.xml文件需要添加的代码:
<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"></controller>
<message-resources parameter="com.gyf.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property value="/WEB-INF/applicationContext.xml" property="contextConfigLocation"></set-property>
</plug-in>
<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"></controller>
<message-resources parameter="com.gyf.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property value="/WEB-INF/applicationContext.xml" property="contextConfigLocation"></set-property>
</plug-in>
相关文章推荐
- ssh三大框架整合配置文件及测试代码
- ssh整合思想 Spring与Hibernate的整合ssh整合相关JAR包下载 .MySQLDialect添加了第57区的方言解决没有异常,hibernate.dialect核心配置文件就是无法自动update创建表
- Spark添加/更改集群节点需要修改的配置文件
- Myeclipse2015 Jrebel插件的安装、配置、使用(新建.java文件、给类添加新方法、新属性、修改代码等,不用重启tomcat即可更新)
- 可以让myeclipse后台代码修改后不必重新部署的方法(注:不包括配置文件的修改)
- SSH整合-关于Spring中applicationContext.xml文件对于事务的一些配置
- ssh整合:将hibernate的配置信息,配置到Spring的配置文件中(Spring整合hibernate)
- 用代码修改配置文件(app.config)的内容
- Android基于配置文件的测试模式(不修改代码通过配置文件来打开和关闭测试模式)
- 三大框架SSH(struts2+spring+hibernate)整合时相关配置文件的模板
- 【linux】/home/USR/.ssh目录里什么时候需要添加authorized_keys文件(1)
- Flex AIR 重启需要修改的配置文件
- ssh整合配置文件
- 在elastix中,修改asterisk配置文件手动添加可互拔的分机号策略
- 框架SSH整合的配置文件
- 三大框架SSH(struts2+spring+hibernate)整合时相关配置文件的模板
- samba服务器加入域控主机所需要修改的配置文件
- nagios4.2.4 添加被监控端需要修改的文件
- SSH整合 处理大字段 配置文件 配置说明
- SSH整合的配置文件