错误有几行
第一行有一个点,后面为空白,没有错误提示,
下面一行是一个点,跟着是错误提示!
另外,我<html:text>标签加上maxlength
<html:text property="userName" size="16" maxlength="16"/>
就提示
Attribute maxLength invalid for tag text according to TLD错误
去掉就可以了
怎么回事?
...全文
725打赏收藏
struts问题,为什么显示actionerrors时
错误有几行 第一行有一个点,后面为空白,没有错误提示, 下面一行是一个点,跟着是错误提示! 另外,我标签加上maxlength 就提示 Attribute maxLength invalid for tag text according to TLD错误 去掉就可以了 怎么回事?
在你的ApplicationResources.properties中加入
errors.header=<center><font color="red">
errors.footer=</font></center>
这两句还会有那两个点吗?
Attribute maxLength invalid for tag text according to TLD
说明你写了一个属性maxLength这个属性是不存在的,应该是maxlength改过来就可以了