Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 68292 invoked from network); 9 Feb 2004 14:47:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Feb 2004 14:47:16 -0000 Received: (qmail 45279 invoked by uid 500); 9 Feb 2004 14:46:19 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 45222 invoked by uid 500); 9 Feb 2004 14:46:19 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 45154 invoked from network); 9 Feb 2004 14:46:18 -0000 Received: from unknown (HELO mail.pricerunner.com) (62.181.227.99) by daedalus.apache.org with SMTP; 9 Feb 2004 14:46:18 -0000 Received: (qmail 2732 invoked by uid 525); 9 Feb 2004 14:47:12 -0000 Received: from stefan.gorling@pricerunner.com by drno.pricerunner.com by uid 522 with qmail-scanner-1.10 (. Clear:0. Processed in 0.100339 secs); 09 Feb 2004 14:47:12 -0000 Received: from unknown (HELO pricerunner.com) (unknown) by unknown with SMTP; 9 Feb 2004 14:47:12 -0000 Message-ID: <40279D37.1030908@pricerunner.com> Date: Mon, 09 Feb 2004 15:46:15 +0100 From: =?windows-1252?Q?Stefan_G=F6rling?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Stealing the Writer (Was: Re: Configuring a Default Servlet) References: <0ebd01c3eea4$c5054510$3201a8c0@rasta> <402733FE.2000400@pricerunner.com> <4027742E.6070402@joedog.org> <402782AD.9050002@pricerunner.com> <402783CF.1050201@joedog.org> In-Reply-To: <402783CF.1050201@joedog.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dear Tim, Thanks!, Filters works great to solve this problem. Here's another stupid thing I want to do. I want to measure the performance, by wrapping every request buy another filter (or similiar): public void doFilter(ServletRequest request, ServletResponse, response, FilterChain chain) throws IOException, ServletException { ServletOutputStream out=response.getOutputStream(); out.println("") chain.doFilter(request,response); out.println(""); } The page is delivered properly, but the debug output is not returned. If i remove chain.doFitlter, the text is printed properly. Anyone who has an idea on how to "Steal" a working writer to add some debug data at the end (start is not really necessary)? /Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org