`
Hermosa_Young
  • 浏览: 253976 次
  • 来自: 上海
社区版块
存档分类
最新评论
阅读更多

struts的xml文件中提示如下错误:

 

The file cannot be validated as the XML definition "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd" that is specified as describing the syntax of the file cannot be located.





解决办法:将划线的内容改为如下内容:

<!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.2//EN" 
  "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">

 

  • 大小: 13.1 KB
  • 大小: 4.9 KB
分享到:
评论

相关推荐

    Struts2 中的一个小问题

    最近在学struts2,遇到了个小...The file cannot be validated as the host "struts.apache.org" is currently unreachable 在网上找了很久,没有找到解决方法,后来自己解决了。 拿出来,希望对有同样问题的有点帮助。

    gaskap验证:GASKAP调查的验证套件https://gaskap.anu.edu.au

    gaskap验证 GASKAP调查的验证套件着重研究了银河系和麦哲伦系弥散星际介质(ISM)的高分辨率光谱线数据的度量标准。 这些测试基于的工作,并适应...image (or both) must be supplied to be validated. optional ar

    org.eclipse.jgit.junit.http-2.99.99.2.0-UNOFFICIAL-ROBERTO-RELEASE.zip

    Macro派生的cats.data.validated可能指的是一个函数式编程库Cats,它在Scala中提供了类型安全的错误处理。Validated是Cats库中的一个类型,用于组合验证逻辑,确保数据在被处理前满足所有必需条件。 Monkeytail插件...

    cas .net客户端的配置代码

    ```xml &lt;casServerLoginUrl&gt;https://cas.example.com/cas/login&lt;/casServerLoginUrl&gt; &lt;casServerUrlPrefix&gt;https://cas.example.com/cas&lt;/casServerUrlPrefix&gt; &lt;serverName&gt;http://yourapp.example.com&lt;/...

    validation-masterPHP数据验证库.zip

     * Describes objects that can be validated by passing a Validator object.  */ interface ValidatableInterface {  /**  * Validates the internal properties using a validator ...

    statementProcessor

    报表处理器任务荷兰合作银行每月接收客户对帐单记录。 此信息以JSON格式提供。 这些记录需要根据以下条件进行...也可以通过swagger端点进行测试Api返回 "SUCCESSFUL", All records are validated "DUPLICATE_REFERENCE

    ICS delphixe10源码版

    must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 4. You must register this software by sending a picture ...

    Red Hat Enterprise linux5 安装db2v8.1.docx

    ### Red Hat Enterprise Linux 5 安装 DB2 v8.1 知识点解析 #### 一、Java 安装与...然而,根据 IBM 官方文档([https://www.ibm.com/developerworks/wikis/display/im/DB2+UDB+V8.1+Validated+Linux+Environment]...

    delphi蔬菜水果超市管理系统

    &lt;div class="frame" title="The combo password was validated."&gt;&lt;img src="gr66.jpg" alt=""&gt;&lt;/div&gt; &lt;div class="frame" title="We succeeded to quantify the network."&gt;&lt;img src="bl116.jpg" alt=""&gt;&lt;/div&gt; &lt;/...

    Oracle sqldeveloper without jdk (win+linux)

    完整版下载:http://www.oracle.com/technology/global/cn/software/products/sql/index.html 1. Known Issues 1.1 General - Print prints only one page that is a truncation of the current tab. - Can't ...

    bootstrap做简单大气的登录注册页面

    例如,使用`form-validation`和`was-validated`类可以实现表单验证,而`modal`组件可用于创建弹出窗口进行注册。同时,可以利用`tooltips`和`popovers`为用户提供提示信息。 6. **自定义样式**:虽然Bootstrap提供...

    Laravel开发-luosimao-captcha

    例如,在`Auth\RegisterController`的`register`方法中,你可以注入`StoreUserRequest`,然后调用`authorize`和`validated`方法,这两个方法会自动处理验证码的验证。 6. **错误处理**:如果用户输入的验证码不正确...

    SpringMVC基础篇笔记.docx基础篇笔记.docx

    &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation=...

    validated和valid校验注解用法示例代码

    在Java世界中,`@Validated` 和 `@Valid` 是两个非常重要的验证注解,它们主要用于处理数据验证,确保传入的参数符合预设的规则。这些注解通常与Spring框架结合使用,特别是在处理HTTP请求时,可以有效防止非法数据...

    k7 SRIO参考例程

    but not validated on the IResp interface resulting in a lost transaction. by the logical layer. - Version fixed : v5.1 - CR#474894 - Fixed issue when the maintenance response is followed ...

    NIST SP800-29.pdf

    Products validated as conforming to FIPS 140-1 are accepted by the Federal agencies of both countries for the protection of sensitive information. Vendors of cryptographic modules use independent, ...

    SpringMVC后台接收请求参数的几种方式Demo

    public String submitForm(@Validated @ModelAttribute("form") FormCommand command, BindingResult result) { if (result.hasErrors()) { return "form"; } // process the command... return "success"; }...

    IBIS2SPICE

    The template file is named template.mdl and must be in the same directory as the application itself. The user is prompted for an IBIS file to process. The IBIS to SPICE application does not perform ...

    PLSQL.Developer v11.0.0.1762 主程序+ v10中文包+keygen

    When the read-only status of a file changes this will be propagated to a window associated with that file The logon form now has shortcuts for all fields, is sizeable to show long database names in ...

    bioconductor.org:Bioconductor网站的源代码

    用于bioconductor.org的站点维护者README 该代码的规范位置为 您可以通过克隆此存储库并运行来进行设置git clone https://github.com/Bioconductor/bioconductor.org 然后,在本地提交代码后,运行以下命令以提交...

Global site tag (gtag.js) - Google Analytics