A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Question about response.getOutputStream()
Joined: May 16, 2001
Jul 12, 2001 13:19:00
What does response.getOutputStream() return?
I want to capture the reponse that is sent back to the browser (ie, the html that the jsp page produces) and save it as a file on the server.
Does anyone have any examples?
Thanks in advance.
Joined: Feb 22, 2001
Jul 12, 2001 15:36:00
It returns an
, just like the name says. You can use it to write to the page, but it doesn't give you the page contents.
I agree. Here's the link:
subject: Question about response.getOutputStream()
excel file generation in weblogic portal
Does write() commit a response?
binary and text data
response.setContentType not working in case of Excel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014