275
windows
struts.xml中提示content of element type "package" must match
“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放到最後)
struts2中這個錯誤的意思是,package裏元素必須按照一定的順序排列。這個順序
就是
result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(就是所有的action放到最後)
最後更新:2017-04-02 06:52:16