A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
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
response.setContentType not working in case of Excel
Does write() commit a response?
excel file generation in weblogic portal
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014