关闭

Struts-2.3.dtd源码

标签: Struts-2.3.dtd
806人阅读 评论(0) 收藏 举报
分类:

Struts-2.3.dtd源码

<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
 * $Id: struts-2.0.dtd 651946 2008-04-27 13:41:38Z apetrelli $
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
-->
<!-- START SNIPPET: strutsDtd -->

<!--
   Struts configuration DTD.
   Use the following DOCTYPE

   <!DOCTYPE struts PUBLIC
   "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
   "http://struts.apache.org/dtds/struts-2.3.dtd">
-->

<!ELEMENT struts ((package|include|bean|constant)*, unknown-handler-stack?)>
<!ATTLIST struts
    order CDATA #IMPLIED
>

<!ELEMENT package (result-types?, interceptors?, default-interceptor-ref?, default-action-ref?, default-class-ref?, global-results?, global-exception-mappings?, action*)>
<!ATTLIST package
    name CDATA #REQUIRED
    extends CDATA #IMPLIED
    namespace CDATA #IMPLIED
    abstract CDATA #IMPLIED
    strict-method-invocation CDATA #IMPLIED
    externalReferenceResolver NMTOKEN #IMPLIED
>

<!ELEMENT result-types (result-type+)>

<!ELEMENT result-type (param*)>
<!ATTLIST result-type
    name CDATA #REQUIRED
    class CDATA #REQUIRED
    default (true|false) "false"
>

<!ELEMENT interceptors (interceptor|interceptor-stack)+>

<!ELEMENT interceptor (param*)>
<!ATTLIST interceptor
    name CDATA #REQUIRED
    class CDATA #REQUIRED
>

<!ELEMENT interceptor-stack (interceptor-ref*)>
<!ATTLIST interceptor-stack
    name CDATA #REQUIRED
>

<!ELEMENT interceptor-ref (param*)>
<!ATTLIST interceptor-ref
    name CDATA #REQUIRED
>

<!ELEMENT default-interceptor-ref (#PCDATA)>
<!ATTLIST default-interceptor-ref
    name CDATA #REQUIRED
>

<!ELEMENT default-action-ref (#PCDATA)>
<!ATTLIST default-action-ref
    name CDATA #REQUIRED
>

<!ELEMENT default-class-ref (#PCDATA)>
<!ATTLIST default-class-ref
    class CDATA #REQUIRED
>

<!ELEMENT global-results (result+)>

<!ELEMENT global-exception-mappings (exception-mapping+)>

<!ELEMENT action ((param|result|interceptor-ref|exception-mapping)*,allowed-methods?)>
<!ATTLIST action
    name CDATA #REQUIRED
    class CDATA #IMPLIED
    method CDATA #IMPLIED
    converter CDATA #IMPLIED
>

<!ELEMENT param (#PCDATA)>
<!ATTLIST param
    name CDATA #REQUIRED
>

<!ELEMENT result (#PCDATA|param)*>
<!ATTLIST result
    name CDATA #IMPLIED
    type CDATA #IMPLIED
>

<!ELEMENT exception-mapping (#PCDATA|param)*>
<!ATTLIST exception-mapping
    name CDATA #IMPLIED
    exception CDATA #REQUIRED
    result CDATA #REQUIRED
>

<!ELEMENT allowed-methods (#PCDATA)>

<!ELEMENT include (#PCDATA)>
<!ATTLIST include
    file CDATA #REQUIRED
>

<!ELEMENT bean (#PCDATA)>
<!ATTLIST bean
    type CDATA #IMPLIED
    name CDATA #IMPLIED
    class CDATA #REQUIRED
    scope CDATA #IMPLIED
    static CDATA #IMPLIED
    optional CDATA #IMPLIED
>

<!ELEMENT constant (#PCDATA)>
<!ATTLIST constant
    name CDATA #REQUIRED
    value CDATA #REQUIRED
>

<!ELEMENT unknown-handler-stack (unknown-handler-ref*)>
<!ELEMENT unknown-handler-ref (#PCDATA)>
<!ATTLIST unknown-handler-ref
    name CDATA #REQUIRED
>

<!-- END SNIPPET: strutsDtd -->


0
0
查看评论

struts-2.3.dtd

  • 2013-12-16 15:26
  • 4KB
  • 下载

解决Referenced file contains errors(struts-2.3.dtd)

错误:Referenced file contains errors (http://struts.apache.org/dtds/struts-2.3.dtd). For more information,   right click on the message in the Prob...
  • ANXIN997483092
  • ANXIN997483092
  • 2017-05-22 10:26
  • 826

配置 struts-2.3.dtd 但一直无法提示

我们知道,在项目开发中,之所以运用开发环境,比如 Eclipse、MyEclipse 等,就是因为有工具,开发,编译等一切工作变的简单快捷,Eclipse 中的自动提示功能,可以让我们在开发中,不用查 API 手册,就可以写出对应的类、标签、属性等,非常方便。
  • tzhuwb
  • tzhuwb
  • 2017-09-03 09:25
  • 317

JavaEE SSH框架整合(二) struts2 加载本地dtd文件,action配置

1. 加载struts2的dtd文件,使struts.xml不用联网就能验证,并在eclipse中有提示 在src下创建struts.xml:   xml version="1.0" encoding="UTF-8" ?> DOCT...
  • jjwwmlp456
  • jjwwmlp456
  • 2015-03-13 19:15
  • 4993

添加struts dtd到本地环境

在开发基于struts的应用时可能会在断网环境下进行,这个时候就需要配置struts dtd到本地计算机,步骤如下 1.打开eclipse/myeclipse,Windows—>preference,搜索xml,在弹出的对话框中选择XMLCatalog,如下图所示 2.单击ad...
  • longshengguoji
  • longshengguoji
  • 2015-01-15 23:13
  • 2674

Struts所有jar包、DTD文件(struts-1.2.9-bin.rar)

  • 2010-05-10 21:02
  • 13.73MB
  • 下载

Struts-2.3.dtd源码

Struts-2.3.dtd源码 version="1.0" encoding="UTF-8"?> <!-- /* * $Id: struts-2.0.dtd 651946 2008-04-27 13:41:38Z apetrelli ...
  • tanga842428
  • tanga842428
  • 2017-01-03 09:09
  • 806

struts 配置文件dtd问题

在Eclipse中因配置文件出现问题文本项目不能正常运行: 配置文件错误信息:The errors below were detected when validating the file "struts-2.3.dtd" via the file "struts.x...
  • huihu_bird
  • huihu_bird
  • 2016-12-25 18:37
  • 504

Eclipse设置dtd对struts.xml语法提示

方案一 连接网络 Eclipse会自动下载缓存 struts-2.3.dtd 方案二 无网络 在struts2-core-2.3.x.jar中含有 struts-2.3.dtd 将其复制到硬盘任意位置 例如:c:\\struts-2.3.dtd 操作见下页图
  • u011662320
  • u011662320
  • 2014-08-11 21:05
  • 1312

Struts2 的下载、安装和使用

1. 将 Struts2 的 lib 文件夹下的 commons-fileupload-1.2.1.jar、 commons-io-1.3.2.jar、 freemarker-2.3.16.jar、 javassist-3.7.ga.jar、 ognl-3.0.jar、 struts2-core-2...
  • hanshileiai
  • hanshileiai
  • 2013-11-09 21:42
  • 7180
    个人资料
    • 访问:1378261次
    • 积分:17870
    • 等级:
    • 排名:第640名
    • 原创:257篇
    • 转载:1344篇
    • 译文:92篇
    • 评论:87条