Struts2 权威指南 读书笔记本(二)
拦截器与拦截器stack的配置放在struts.xml中,在ACTION中将拦截器配置在result之后。
定义拦截器: <interceptor? >????? /??? <interceptors>
使用拦截器:<interceptor-ref>
?
要实现自己的拦截器,在struts2中要实现 com.opensymphony.xwork2.interceptor.Interceptor接口 其中有三个方法
??
?????