`
fishermen
  • 浏览: 375175 次
社区版块
存档分类
最新评论

webwork--prepare-interceptor的使用策略及地点

阅读更多
1、interceptor:workflow,实际是用于action的执行顺序及执行的方法集,主要是验证后execute()。
2、interceptor:prepare,首先执行实现了Preparable接口的action中的prepare方法,然后再execute;
3、servlet-config,在xwork中声明后,在类中implements sessionAware 或者其他http内置变量,在类中定义变量并set注入后,可以直接是用之!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics