File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
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()
Does write() commit a response?
response.setContentType not working in case of Excel
excel file generation in weblogic portal
binary and text data
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015