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


按照以下顺序排列:

result-types

interceptors

default-interceptor-ref

default-action-ref

default-class-ref

global-results

global-allowed-methods

global-exception-mappings

action*



猜你喜欢

转载自blog.csdn.net/pack__pack/article/details/78767827