* jan_bar: > > the ServletResponse javadoc doesn't state if and when one should call > getWriter().close() or getOutputStream().close(). I have a filter that > writes comments after the request was processed. Wicket sometimes closes the > response and sometimes not. For instance > BufferedHttpServletResponse.writeTo(HttpServletResponse servletResponse) > calls: > > final OutputStream out = servletResponse.getOutputStream(); > out.write(this.byteBuffer); > out.close();
FYI BufferedHttpServletResponse is not directly handled by the servlet container, it is a wrapper around the real response for the REDIRECT_TO_BUFFER RenderStrategy. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user