SSH框架--struts配置
来源:互联网 发布:车辆违章缴费软件 编辑:程序博客网 时间:2024/06/10 17:16
struts 用org.springframework.web.struts.DelegatingActionProxy截取,在spring文件中实现
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<data-sources />
<form-beans >
<form-bean name="loginForm" type="com.wxy.struts.form.LoginForm" />
<form-bean name="registerForm" type="com.wxy.struts.form.RegisterForm" />
<form-bean name="cunForm" type="com.wxy.struts.form.CunForm" />
<form-bean name="qukuanForm" type="com.wxy.struts.form.QukuanForm" />
</form-beans>
<global-exceptions />
<global-forwards />
<action-mappings >
<action
attribute="loginForm"
input="/login.jsp"
name="loginForm"
path="/login"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy" />
<action
attribute="registerForm"
input="/register.jsp"
name="registerForm"
path="/register"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy" />
<action
attribute="cunForm"
input="/cun.jsp"
name="cunForm"
path="/cun"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy" />
<action
attribute="qukuanForm"
input="/qukuan.jsp"
name="qukuanForm"
path="/qukuan"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy" />
</action-mappings>
<message-resources parameter="com.wxy.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml"/>
</plug-in>
</struts-config>
- SSH框架--struts配置
- 自学SSH框架之---struts(一):struts的配置
- SSH框架之Struts的引入、第一个Struts配置
- 框架SSH学习(Struts)
- 基于Struts、Spring、Hibernate的JavaWeb开发SSH框架配置
- SSH(spring+hibernate+struts)框架
- SSH框架之Struts的全局跳转视图配置、配置的各项默认值
- java框架学习SSH框架之Struts
- SSH配置:struts-config.xml
- JAVA SSH ----Struts常量配置
- JAVA SSH ----Struts基本配置
- Struts 2框架配置
- Struts框架配置详解
- ssh框架配置
- SSH框架配置log4j
- 手动配置SSH框架
- SSH框架配置log4j
- SSH框架配置详解
- 一道C语言面试题的解答
- SSH框架配置--在spring中的配置数据源
- IIS权限设置
- Exception and Error
- lucene中文分词(转)
- SSH框架--struts配置
- Trac on Apache - 使用说明
- SSH配置--xml
- 错误602:未能在sysindexes中找到数据库ID11中对象ID1的索引ID1对应的行,郁闷啊???
- 我的C++实践(1):Stack的实现
- 我当上校内之星的小秘密
- DOS命令集合
- WebClient-Session和Cookie
- J2ME下载、本地存储案例二则