Re: Filter and ServletResponseWrapper obligations

2008-12-27 Thread Michael Ludwig
Christopher Schultz schrieb am 01.12.2008 um 14:15:31 (-0500): Michael Ludwig wrote: Hi Chris, thanks for your reply. Sorry for not getting back earlier. Is this the filter you wrote in your other thread? Yes. Maybe you are not printing your output at the right time. Or maybe you aren't

Re: Filter and ServletResponseWrapper obligations

2008-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ludwig wrote: But then, this is without any filters. Let's add a filter. included HTML before include after include This is wrong. The output order is mangled. What happened? Is this the filter you wrote in your other

Filter and ServletResponseWrapper obligations

2008-11-23 Thread Michael Ludwig
This is both Tomcat 5.5.27 and 6.0.18. (And also Jetty 6.1.18.) Consider the following servlet code: PrintWriter out = res.getWriter(); ... out.println( pbefore include/p); rd = context.getRequestDispatcher( /include.html); // contains pincluded HTML/p rd.include( req, res);