日期:2014-05-17 浏览次数:20905 次
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain chain) throws IOException, ServletException {
HttpServletRequest request=(HttpServletRequest) arg0;
//过滤器前一些操作
chain.doFilter(arg0, arg1);
//等执行完成后 我去一个工具类获取事先准备好的分页类
Paging paging= SysThreadLocal.getPageClazz();
//然后放到作用域。
request.setAttribute("paging", paging );
}
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain chain) throws IOException, ServletException {
HttpServletRequest request=(HttpServletRequest) arg0;
//等执行完成后 我去一个工具类获取事先准备好的分页类
Paging paging= SysThreadLocal.getPageClazz();
//然后放到作用域。
request.setAttribute("paging", paging );
//过滤器前一些操作
chain.doFilter(arg0,&