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("<!-- request started -->")
chain.doFilter(request,response);
out.println("<!-- This is the end of the request, it took foo seconds-->");
}
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
