Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
Buffer the entire Response
Vasim Patel
Ranch Hand
Posts: 87
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
Is there a way in which I can buffer the entire
servlet
response(headers and content) and send it to the client?
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I suppose you could use the response method setBufferSize() with some outlandish value. Why?
Bill
Peter Bell
Greenhorn
Posts: 19
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
when loading jsp page.........
HttpServletResponse.getOutputStream() - streaming or not streaming?
Re: Committing response in response buffer
JSP Page doubt?
some confusions
More...