阅读275 返回首页    go 阿里云 go 技术社区[云栖]


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++通信中文乱码的问题