Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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 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.
It is sorta covered in the
JavaRanch Style Guide
subject: Question about response.getOutputStream()
Does write() commit a response?
binary and text data
response.setContentType not working in case of Excel
excel file generation in weblogic portal
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013