1 4 package com.opensymphony.module.sitemesh.filter; 5 6 import javax.servlet.RequestDispatcher ; 7 import javax.servlet.http.HttpServletRequest ; 8 import javax.servlet.http.HttpServletRequestWrapper ; 9 10 16 public class PageRequestWrapper extends HttpServletRequestWrapper { 17 boolean debug = false; 18 19 public PageRequestWrapper(HttpServletRequest request) { 20 this(request, false); 21 } 22 23 public PageRequestWrapper(HttpServletRequest request, boolean debug) { 24 super(request); 25 this.debug = debug; 26 } 27 28 public RequestDispatcher getRequestDispatcher(String s) { 29 return new RequestDispatcherWrapper(super.getRequestDispatcher(s)); 30 } 31 } 32 | Popular Tags |