struts.xml中提示content of element type "package" must match

来源:互联网 发布:mysql match 完全匹配 编辑:程序博客网 时间:2024/04/30 06:15
 
“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
原创粉丝点击