webwork中的一个问题

简介: The short-circuit attribute was introduced in the XWork Validator 1.0.2 release. If the framework complains that the "Attribute 'short-circuit' must be declared for element type 'field-validator'", update the configuration file's DTD reference.     例子中红色的部分不是1.0.2造成的这个问题。

The short-circuit attribute was introduced in the XWork Validator 1.0.2 release. If the framework complains that the "Attribute 'short-circuit' must be declared for element type 'field-validator'", update the configuration file's DTD reference.

<!DOCTYPE validators PUBLIC
 "-//OpenSymphony Group//
  "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"> 
 
例子中红色的部分不是1.0.2造成的这个问题。
 
自带的例子中没有short-circuit 例子中 有可能是 所以要注意选择实际例子使用。
<!DOCTYPE validators PUBLIC 
    "-//OpenSymphony Group//
    "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
目录
相关文章
|
4月前
|
XML 前端开发 Java
外文翻译:Struts框架介绍
外文翻译:Struts框架介绍
|
6月前
|
前端开发 JavaScript Java
20dwr - DWR 与 WebWork整合
20dwr - DWR 与 WebWork整合
21 0
|
10月前
|
前端开发 Java 网络安全
《SSH框架》Struts2
Struts(金属支架),在程序中表示起支撑作用的通用程序代码,Struts2是在Struts1框架的基础上融合了WebWork优秀框架升级得到的。
|
前端开发 Java
|
XML 前端开发 安全
快速学习使用springmvc、strust2、strust1以及它们的对比(2)
快速学习使用springmvc、strust2、strust1以及它们的对比
186 0
|
Java Spring
快速学习使用springmvc、strust2、strust1以及它们的对比(1)
快速学习使用springmvc、strust2、strust1以及它们的对比
110 0
|
数据安全/隐私保护
14 Struts2 验证框架
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hxdeng/article/details/82020359 数据校验 数据校验是程序中最常见的模块。
1296 0
|
前端开发 Java 网络安全