Struts2 配置文件struts.xml示范模板
来源:互联网 发布:ipad如何开淘宝店铺 编辑:程序博客网 时间:2024/05/17 23:56
<?xml version = "1.0" encoding = "UTF-8"?><!--下面是Struts2配置文件的DTD信息 --><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"><!--struts是struts2配置文件的跟元素 --><struts><!--下面的元素可以出现0次,也可以出现无限多次 --><constant name="" value="" /><!--下面的元素可以出现0次,也可以出现无限多次 --><bean type="" name="" class="" scope="" static="" optional="" /><!--下面的元素可以出现0次,也可以出现无限多次 --><include file="" /><!--package元素是struts配置文件的核心,该元素可以出现0次,或者是无限多次 --><package name="必填的包名" extends="" namespace="" abstract="" externalReferenceResovler><!--以下该元素可以出现,也可以不出现,最多出现一次 --><result-types><!--以下该元素必须出现,可以出现无数多次 --><result-type name="" class="" default="true\false"><!--下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值 </param></result-type></result-types><!--以下的该元素可以出现,也可以不出现,但最多出现1次 --><interceptors><!--interceptors元素的子元素interceptor元素和interceptor-stack至少出现其中之一,也可以两者都出现 --><!--下面的元素可以出现0次,也可以出现无限多次 --><interceptor name="" class=""><!--下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值 </param></interceptor><!--下面的元素可以出现0次,也可以出现无限多次 --><interceptor-stack name=""><!-- 下面的元素必须出现,可以出现无数多次 --><interceptor-ref name=""><!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></interceptor-ref></interceptor-stack></interceptors><!-- 下面的元素可以出现0次,也可以出现无限多次 --><default-interceptor-ref name=""><!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></default-interceptor-ref><!-- 下面的元素可以出现0次,也可以出现无限多次 --><default-action-ref name=""><!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></default-action-ref><!-- 下面的元素可以出现0次,也可以出现无限多次 --><global-results><!-- 该元素必须出现,可以出现无限多次 --><result name="" type=""><!-- 该字符串内容可以出现0次或者多次 -->映射资源<!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></result></global-results><!-- 下面的元素可以出现0次,也可以出现多次 --><global-exception-mappings><!-- 该元素必须出现,可以出现多次 --><exception-mapping name="" exception="" result="">异常处理资源<!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></exception-mapping></global-exception-mappings><action name="" class="" method="" convertor=""><!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param><!-- 下面的元素可以出现0次,也可以出现无限多次 --><result name="" type="">映射资源<!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></result><!-- 下面的元素可以出现0次,也可以出现无限多次 --><interceptor-ref name=""><!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></interceptor-ref><!-- 下面的元素可以出现0次,也可以出现无限多次 --><exception-mapping name="" exception="" result="">异常处理资源<!-- 下面的元素可以出现0次,也可以出现无限多次 --><param name="参数名">参数值</param></exception-mapping></action></package></struts>
- Struts2 配置文件struts.xml示范模板
- Struts2配置文件Struts.xml示范
- struts2 配置文件 struts.xml
- struts2配置文件 struts.xml
- structs2中全面的配置文件struts.xml文件示范
- Struts2.0配置文件(struts.xml)
- struts2 struts.xml配置文件详解
- struts2:struts.xml配置文件详解
- struts2配置文件—struts.xml
- Struts2:详解配置文件struts.xml
- struts2配置文件struts.xml详解
- struts2:struts.xml配置文件详解
- Struts2:Struts.xml配置文件详解
- Struts2 --- struts.xml配置文件详解
- struts2 配置文件示范说明 xml 格式和 properties 格式
- struts2的struts.xml struts.properties配置文件
- 2.struts2配置文件Web.XML与Struts.XML模板详细说明
- struts2.0中struts.xml配置文件详解
- Android中如何使用命令行查看内嵌数据库SQLite3
- 全排列生成
- 在你面前伤害别人的人
- 非洲南部的黄金之地(一)
- C语言中extern的用法
- Struts2 配置文件struts.xml示范模板
- httpclient关于https的使用
- vb.net lambda语法特点
- Ping一个IP地址是否有效
- 无题(2011.9.22)
- Using the V$SEGMENT_STATISTICS Dynamic Performance View
- C# 串口通讯
- myeclipse svn 清除缓存用户和密码
- JavaEE程序员必读图书大推荐