摘要: 1.拦截器接口public interface Interceptor { void interceptor(ActionInvocation invocation);} 2.给接口做3个实现public class FirstInterceptor implements Interce... 阅读全文
posted @ 2015-05-02 20:18 半死的大头菜 阅读(149) 评论(0) 推荐(0)
摘要: 1.org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter()方法中public void doFilter(ServletRequest req, ServletResponse res, F... 阅读全文
posted @ 2015-05-02 20:00 半死的大头菜 阅读(240) 评论(0) 推荐(0)