⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struts-config_1_0.dtd

📁 《jsp网络编程技术与实例》
💻 DTD
📖 第 1 页 / 共 2 页
字号:
                     WARNING:  For Struts 1.0, this value is ignored.  You                     can set the default implementation class name with the                     "forward" initialization parameter to the Struts                     controller servlet.--><!ELEMENT global-forwards (forward*)><!ATTLIST global-forwards id            ID              #IMPLIED><!ATTLIST global-forwards type          %ClassName;     "org.apache.struts.action.ActionForward"><!-- The "forward" element describes a mapping of a logical name (used within     the application) to a mappable resource identified by a context-relative     URI path.  The following attributes are defined:     className       Fully qualified Java class name of the ActionForward                     implementation class to use.  Defaults to the value                     configured as the "forward" initialization parameter                     to the Struts controller servlet.     name            Unique identifier of this forward, used to reference it                     in application action classes.     path            The context-relative path of the mapped resource.     redirect        Set to "true" if sendRedirect() should be used to forward                     to this resource, or "false" in order to use                     RequestDispatcher.forward() instead.--><!ELEMENT forward (icon?, display-name?, description?, set-property*)><!ATTLIST forward        id             ID              #IMPLIED><!ATTLIST forward        className      %ClassName;     #IMPLIED><!ATTLIST forward        name           CDATA           #REQUIRED><!ATTLIST forward        path           %RequestPath;   #REQUIRED><!ATTLIST forward        redirect       %Boolean;       #IMPLIED><!-- The "action-mappings" element configures the mappings from submitted     request paths to the corresponding Action classes that should be     used to process these requests.  The following attributes are     defined:     type           Fully qualified Java class name of the ActionMapping                    implementation class to be used.  DEPRECATED.                     WARNING:  For Struts 1.0, this value is ignored.  You                     can set the default implementation class name with the                     "mapping" initialization parameter to the Struts                     controller servlet.--><!ELEMENT action-mappings (action*)><!ATTLIST action-mappings id             ID              #IMPLIED><!ATTLIST action-mappings type           %ClassName;     "org.apache.struts.action.ActionMapping"><!-- The "action" element describes a mapping from a request paths to the     corresponding Action classes that should be used to process these     requests.  The following attributes are defined:     attribute       Name of the request-scope or session-scope attribute                     under which our form bean is accessed, if it is other                     than the bean's specified "name".  Optional if                     "name" is specified, else not allowed.     className       Fully qualified Java class name of the ActionMapping                     implementation class to use.  Defaults to the value                     configured as the "mapping" initialization parameter                     to the Struts controller servlet.     forward         Context-relative path of the servlet or JSP resource that                     will process this request, instead of instantiating and                     calling the Action class specified by "type".  Exactly one                     of "forward", "include", or "type" must be specified.     include         Context-relative path of the servlet or JSP resource that                     will process this request, instead of instantiating and                     calling the Action class specified by "type".  Exactly one                     of "forward", "include", or "type" must be specified.     input           Context-relative path of the input form to which control                     should be returned if a validation error is encountered.                     Required if "name" is specified and the input bean                     returns validation errors.  Optional if "name" is                     specified and the input bean does not return validation                     errors.  Not allowed if "name" is not specified.     name            Name of the form bean, if any, that is associated                     with this action.     path            The context-relative path of the submitted request,                     starting with a "/" character, and without the                     filename extension if extension mapping is used.     parameter       General purpose configuration parameter that can be used                     to pass extra information to the Action selected by this                     mapping.     prefix          Prefix used to match request parameter names to form bean                     property names, if any.  Optional if "name" is specified,                     else not allowed.     scope           Identifier of the scope ("request" or "session") within                     which our form bean is accessed, if any.  Optional if                     "name" is specified, else not allowed.     suffix          Suffix used to match request parameter names to form bean                     property names, if any.  Optional if "name" is specified,                     else not allowed.     type            Fully qualified Java class name of the Action class                     (implements org.apache.struts.action.Action) to be                     used to process requests for this mapping if the "forward"                     or "include" attribute is not included.  Exactly one                     of "forward", "include", or "type" must be specified.     unknown         Set to "true" if this action should be configured as the                     default for this application, to handle all requests                     not handled by another action.  Only one action can be                     defined as a default within a single application.     validate        Set to "true" if the validate() method of the form bean                     should be called prior to calling this action, or set to                     "false" if you do not want validation performed.--><!ELEMENT action (icon?, display-name?, description?, set-property*, forward*)><!ATTLIST action         id             ID              #IMPLIED><!ATTLIST action         attribute      %BeanName;      #IMPLIED><!ATTLIST action         className      %ClassName;     #IMPLIED><!ATTLIST action         forward        %RequestPath;   #IMPLIED><!ATTLIST action         include        %RequestPath;   #IMPLIED><!ATTLIST action         input          %RequestPath;   #IMPLIED><!ATTLIST action         name           %BeanName;      #IMPLIED><!ATTLIST action         parameter      CDATA           #IMPLIED><!ATTLIST action         path           %RequestPath;   #REQUIRED><!ATTLIST action         prefix         CDATA           #IMPLIED><!ATTLIST action         scope          %RequestScope;  #IMPLIED><!ATTLIST action         suffix         CDATA           #IMPLIED><!ATTLIST action         type           %ClassName;     #IMPLIED><!ATTLIST action         unknown        %Boolean;       #IMPLIED><!ATTLIST action         validate       %Boolean;       #IMPLIED><!-- The "set-property" element specifies the name and value of an additional     JavaBeans configuration property whose setter method will be called     on the object that represents our surrounding element.  This is especially     useful when an extended implementation class (with additional properties)     is configured on the <global-forwards> or <action-mappings> elements.     The following attributes are defined:     property        Name of the JavaBeans property whose setter method                     will be called.     value           String representation of the value to which this                     property will be set, after suitable type conversion--><!ELEMENT set-property EMPTY><!ATTLIST set-property   id             ID              #IMPLIED><!ATTLIST set-property   property       %PropName;      #REQUIRED><!ATTLIST set-property   value          CDATA           #REQUIRED><!-- ========== Subordinate Elements ====================================== --><!-- The "description" element contains descriptive (paragraph length) text     about the surrounding element, suitable for use in GUI tools.--><!ELEMENT description (#PCDATA)><!ATTLIST description    id             ID              #IMPLIED><!-- The "display-name" element contains a short (one line) description of     the surrounding element, suitable for use in GUI tools.--><!ELEMENT display-name (#PCDATA)><!ATTLIST display-name   id             ID              #IMPLIED><!-- The "icon" element contains a small-icon and large-icon element which     specify the location, relative to the Struts configuration file, for small     and large images used to represent the surrounding element in GUI tools.--><!ELEMENT icon (small-icon?, large-icon?)><!ATTLIST icon           id             ID              #IMPLIED><!-- The "large-icon" element specifies the location, relative to the Struts     configuration file, of a resource containing a large (32x32 pixel)     icon image.--><!ELEMENT large-icon (%Location;)><!ATTLIST large-icon     id             ID              #IMPLIED><!-- The "small-icon" element specifies the location, relative to the Struts     configuration file, of a resource containing a small (16x16 pixel)     icon image.--><!ELEMENT small-icon (%Location;)><!ATTLIST small-icon     id             ID              #IMPLIED>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -