Struts-struts-config.xml基本配置模板
来源:互联网 发布:能读谱的软件 编辑:程序博客网 时间:2024/06/08 03:51
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd"><struts-config><!-- 配置表单 --><form-beans><!-- name是表单名字,但是尽量使用规范(表单类名小写) --><!-- type用于指定表单类的全路径 --><form-bean name="userForm" type="com.sw.form.UserForm"></form-bean></form-beans><!-- 配置action --><action-mappings><!-- 配置一个具体的action path:表示将来访问action的资源名称 http://localhost:8080/web--><!-- name用于关联某个表单 --><!-- path:用于指定该action的全路径 --><action path="/login" name="userForm" type="com.sw.action.loginAction"><!-- 配置跳转关系 --><!-- name:结果名称 --><!-- path:转发的页面 --><forward name="ok" path="/WEB-INF/ok.jsp"></forward><forward name="err" path="/WEB-INF/err.jsp"></forward></action></action-mappings></struts-config>
0 0
- Struts-struts-config.xml基本配置模板
- struts-config.xml 配置模板
- struts-config.xml模板
- Struts struts-config.xml 配置
- Struts 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配置
- How to disable 'withcredentials' in HTTP header with node.js and Request package?
- Square poj2362深度优先搜索+剪枝
- Android 7.0 新特性 分屏多窗口 中文API
- Servlet-web.xml配置模板
- 前端自动化之package.json
- Struts-struts-config.xml基本配置模板
- Tomcat之——内存溢出设置JAVA_OPTS
- JAVA学习笔记——00
- How to get the process ID to kill a nohup process?
- LeetCode 287 Find The Duplicate Number
- DAC
- POJ题目分类
- quick-cocos2d-x开发工具sublime text及其强力插件QuickXDev
- jQuery find events handlers registered with an object