struts2中xml验证无效
<!DOCTYPE validators PUBLIC
   "-//OpenSymphony Group//XWork Validator 1.0.3//EN"
   "http://www.opensymphony.com/xwork/xwork-validator-1.0.3.dtd">
上面这段有报警告
The file cannot be validated as the XML definition "http://www.opensymphony.com/xwork/xwork-validator-1.0.3.dtd" that is specified as describing 
 the syntax of the file cannot be located.

解决方案 »

  1.   

    版本中dtd和xml的配置相冲突。。
    两种解决方法:改dtd版本规范(换版本)符合xml的格式 或者 改xml的格式符合当前dtd版本规范
      

  2.   

     the syntax of the file cannot be located. 
    意思是说语法文件无法找到。。你在浏览器地址栏输入 
    http://www.opensymphony.com/xwork/xwork-validator-1.0.3.dtd
    看看不就知道了吗??