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
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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()
binary and text data
excel file generation in weblogic portal
Does write() commit a response?
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