Reading Servlet OutputStream

2004-08-31 Thread Nitin Mulimani
This question is is more on the Servlet API. I want to read the servlet output stream and save in some buffer or file, and then forward it to the client. I use filters to play with the Request and Response objects. These are some of the things I have tried. 1) I have a Wrapper

Re: Reading Servlet OutputStream

2004-08-31 Thread John Villar
Look at the pushBody method of the response class (HttpServletResponse) that's all you need Nitin Mulimani escribió: This question is is more on the Servlet API. I want to read the servlet output stream and save in some buffer or file, and then forward it to the client. I use filters to

Re: Reading Servlet OutputStream

2004-08-31 Thread James Sherwood
Subject: Re: Reading Servlet OutputStream Look at the pushBody method of the response class (HttpServletResponse) that's all you need Nitin Mulimani escribió: This question is is more on the Servlet API. I want to read the servlet output stream and save in some buffer or file

RE: Reading Servlet OutputStream

2004-08-31 Thread Nitin Mulimani
Hi John, I am checking the Servlet2.3 api, and do not find a pushBody() method in HttpServletResponse. -- Nitin -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 8:32 AM To: Tomcat Users List Subject: Re: Reading Servlet OutputStream Look

Re: Reading Servlet OutputStream

2004-08-31 Thread John Villar
Mulimani escribió: Hi John, I am checking the Servlet2.3 api, and do not find a pushBody() method in HttpServletResponse. -- Nitin -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 8:32 AM To: Tomcat Users List Subject: Re: Reading Servlet

Re: Reading Servlet OutputStream

2004-08-31 Thread James Sherwood
I am not using JSP, I am using Tapestry, any other ideas on how to accomplish this? James - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 1:31 PM Subject: Re: Reading Servlet OutputStream certainly my

RE: Reading Servlet OutputStream

2004-08-31 Thread Nandish Rudra
To: Tomcat Users List Subject: Re: Reading Servlet OutputStream I am not using JSP, I am using Tapestry, any other ideas on how to accomplish this? James - Original Message - From: John Villar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 1:31

RE: Reading Servlet OutputStream

2004-08-31 Thread Nitin Mulimani
[mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 9:40 AM To: 'Tomcat Users List' Subject: RE: Reading Servlet OutputStream Here is something u guys can do. PipedOutputStream and PipedInputStream to redirect the output stream and read the data into a buffer and then do with it what u please