今儿 在配置struts.xml时报错,没有任何语法错误 ;
The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-
ref?,default-action-ref?,default-class-ref?,global-results?,global-allowed-methods?,global-exception-
mappings?,action*)".
后google和查阅相关博客找到原因:元素类型是有顺序的 顺序即括号中的排列
eg. result-types?,
interceptors?,
default-interceptor- ref?,
default-action-ref?,
default-class-ref?,
global-results?,
global-allowed-methods?,
global-exception-mappings?,
action*