struts.xml中提示content of element type "package" must match
2011-12-20 22:24
507 查看
“The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)". ”
struts2中这个错误的意思是,package里元素必须按照一定的顺序排列。这个顺序
就是
result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(就是所有的action放到最后)
原帖地址:http://christy-fang.iteye.com/blog/745744
struts2中这个错误的意思是,package里元素必须按照一定的顺序排列。这个顺序
就是
result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(就是所有的action放到最后)
原帖地址:http://christy-fang.iteye.com/blog/745744
相关文章推荐
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- struts-config.xml配置文件顺序异常: The content of element type "struts-config" must match
- web.xml中提示错误The content of element type "web-app" must match
- [com.opensymphony.xwork2.util.DomHelper] The content of element type "package" must match
- The content of element type "package" must match 随笔
- web.xml 报错The content of element type "web-app" must match
- he content of element type "struts" must match "((package|include|bean|constant)*,unknown-handler-stack?)".解决方法
- org.xml.sax.SAXParseException The content of element type "package" must match "(result-types?,inter
- The content of element type "package" must match 。。。。。。
- The content of element type "struts-config" must match "(display-name?,description?,data-sources?,fo
- SpringMVC+idea中web.xml文件的The content of element type "web-app" must match问题
- "org.xml.sax.SAXParseException: The content of element type "class" must match" 异常解决
- The contenTht of element type "package" must match "(result-types?,interceptors?,default-intercept .
- “The content of element type "package" must match "(result-types?,interceptors?,
- Java大牛养成记(5)——The content of element type "struts" must match "(package|include|bean|constant)*".
- xml之解决The content of element type "web-app" must match "(icon?,display......方案
- The content of element type "struts-config" must match 解决方案
- web.xml 报错The content of element type "web-app" must match
- The content of element type "package" must match "(result-types?,interceptors?,default-intercept .
- web.xml The content of element type "web-app" must match "