struts-config.xml简单配置
来源:互联网 发布:soaoffice java 编辑:程序博客网 时间:2024/05/22 15:44
<? 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= "rightManagerForm" type ="com.accp.form.RightManagerForm" ></ form-bean>
</form-beans >
<global-exceptions />
<global-forwards >
<forward name= "error" path ="/error.jsp" ></ forward>
</global-forwards >
<action-mappings >
<!-- 权限管理模块 -->
<action path= "/right"
type ="org.springframework.web.struts.DelegatingActionProxy"
scope ="request"
name ="rightManagerForm"
parameter ="method" >
< forward name ="login" path= "/login.jsp" redirect ="true" ></ forward>
</action >
</action-mappings >
<message-resources parameter ="com.yourcompany.struts.ApplicationResources" />
<!-- 组件方式 注册时间转换器 -->
<plug-in className= "com.accp.util.UtilDateConverterPlugIn" ></ plug-in>
</ struts-config >
<! 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= "rightManagerForm" type ="com.accp.form.RightManagerForm" ></ form-bean>
</form-beans >
<global-exceptions />
<global-forwards >
<forward name= "error" path ="/error.jsp" ></ forward>
</global-forwards >
<action-mappings >
<!-- 权限管理模块 -->
<action path= "/right"
type ="org.springframework.web.struts.DelegatingActionProxy"
scope ="request"
name ="rightManagerForm"
parameter ="method" >
< forward name ="login" path= "/login.jsp" redirect ="true" ></ forward>
</action >
</action-mappings >
<message-resources parameter ="com.yourcompany.struts.ApplicationResources" />
<!-- 组件方式 注册时间转换器 -->
<plug-in className= "com.accp.util.UtilDateConverterPlugIn" ></ plug-in>
</ struts-config >
- struts-config.xml简单配置
- struts-config.xml中的简单配置
- struts-config.xml 配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- Struts struts-config.xml 配置
- Struts struts-config.xml配置
- 关于struts-config.xml配置
- 五十七、基础框架(十五)创建 地址簿-5
- ubuntu修改计算机名
- 五十八、基础框架(十六)创建 地址簿-6
- sql server日期函数
- JAVA I/O printstream printwriter 区别
- struts-config.xml简单配置
- 如果我是明媚的人,谁能看懂我的腐朽:伤感心情日志
- servlet 原理
- MyEclipse反向生成XML和JAVA文件
- 每天一点English
- SVN更改登录用户
- 根据word模版将数据导入到数据库
- JPG,PNG,GIF,WBMP,BMP
- JSONObject与JSONArray的使用