閱讀275 返回首頁    go 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放到最後)
 
原帖地址:https://christy-fang.iteye.com/blog/745744

最後更新:2017-04-02 06:52:16

  上一篇:go 談談Magento與淘寶API整合
  下一篇:go jni和C++通信中文亂碼的問題