struts文件中的顺序

struts2的配置文件报错:The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action

意思是我在配置文件中:
result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(就是所有的action放到最后)

strust文件中的顺序

猜你喜欢

转载自shumiao705-163-com.iteye.com/blog/1165412