Hi, I am trying to get a filter to capture the output from a JSP which is then included with the output from the target at the end of the filter chain. What the wrapper does is capture all the bytes so they can be merged. I can get it to work when the dispatcher is called on index.html - but not index.jsp. Can anyone help here? I would greatly appreciate it.
Thanks...Pete public void doFilter( ServletRequest rIn, ServletResponse rOut, FilterChain chain ) throws ServletException, IOException { ResponseWrapper out = new ResponseWrapper( (HttpServletResponse)rOut ); config.getServletContext().getRequestDispatcher("/index.jsp").include( rIn, out ); chain.doFilter( rIn, out ); ... do some more here ... } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]