(struts1)struts-config.xml
来源:互联网 发布:安卓编程工具手机版 编辑:程序博客网 时间:2024/05/17 03:37
<?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>
<!-- 动态actionform -->
<form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="user" type="accp.struts.lxl.pojo.Users" />
</form-bean>
<form-bean name="userForm" type="org.apache.struts.validator.DynaValidatorForm">
<!-- 针对对象 -->
<form-property name="user" type="accp.struts.lxl.pojo.Users" />
<!-- 针对数组 -->
<form-property name="userhobbies" type="java.lang.String[]" />
<!-- 针对文件 -->
<form-property name="userpic" type="org.apache.struts.upload.FormFile" />
</form-bean>
</form-beans>
<global-exceptions />
<global-forwards>
<forward name="login" path="/login.jsp" />
<forward name="index" path="/index.jsp" />
</global-forwards>
<action-mappings>
<action path="/login" name="loginForm" type="accp.struts.lxl.action.UsersAction" parameter="op" input="/login.jsp">
</action>
<action path="/user" name="userForm" type="accp.struts.lxl.action.UsersAction" parameter="op" input="/index.jsp">
<forward name="userlist" path="/WEB-INF/jsp/user/userlist.jsp" />
<forward name="createUser" path="/WEB-INF/jsp/user/createUser.jsp" />
</action>
</action-mappings>
<message-resources parameter="accp.struts.lxl.action.ApplicationResources" />
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
- (struts1)struts-config.xml
- struts1配置(xml,struts-config.xml)
- 【Struts1.2总结】struts-config.xml配置
- 【Struts1.2总结】struts-config.xml配置
- 【Struts1.2总结】struts-config.xml配置
- struts1的数据库配置struts-config.xml
- 【STRUTS1.2】struts-config.xml详解
- Struts1的 struts-config.xml说明
- Struts1.2总结 struts-config.xml配置
- 【Struts1.2】struts-config.xml配置详解
- 【Struts1.2总结】struts-config.xml配置
- struts1.x struts-config.xml配置详解
- 详解Struts1中的struts-config.xml配置文件
- struts1.x struts-config.xml配置详解
- 【Struts1.2总结】struts-config.xml配置
- 详解Struts1中的struts-config.xml配置文件
- Struts1总结:struts-config.xml配置
- 【Struts1.2总结】struts-config.xml配置
- awk折半查找
- 谁为浮躁而悲哀?
- 大家好
- C#如何写入和读取html控件text1的值
- (struts1)validation.xml
- (struts1)struts-config.xml
- C# 获取和修改 计算机名、IP、DNS等
- (struts1)login.jsp
- mysql cluster 集群
- (struts1)UsersAction.java
- wince 应用 加载图片 并显示
- mysql cluster 集群
- (struts1)ApplicationResources.properties
- ubuntu解压命令全览