Struts配置文件错误之type "package"


错误信息:

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*)".

原因:package里元素必须按照一定的顺序排列

result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(所有action放到最后)


你可能感兴趣的:(Struts配置文件错误之type "package")