A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Buffer the entire Response
Joined: Apr 29, 2004
Aug 12, 2004 08:00:00
Is there a way in which I can buffer the entire
response(headers and content) and send it to the client?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Aug 12, 2004 16:35:00
I suppose you could use the response method setBufferSize() with some outlandish value. Why?
Joined: Mar 25, 2003
Aug 12, 2004 21:17:00
You can't send redirects after you've started sending pages. So maybe that's why? But if that was the case, you're still better off figuring out if you need to redirect or not before anything is written to the response.
RimuHosting - JSP and Java Hosting
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Buffer the entire Response
when loading jsp page.........
HttpServletResponse.getOutputStream() - streaming or not streaming?
Re: Committing response in response buffer
JSP Page doubt?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015