The Artima Developer Community
Sponsored Link

Java Answers Forum
Biggest size of the JSP output buffer

3 replies on 1 page. Most recent reply: Jul 15, 2002 6:56 AM by Jay Kandy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Julio C. Fonseca C.

Posts: 18
Nickname: jfonseca
Registered: Mar, 2002

Biggest size of the JSP output buffer Posted: Jul 9, 2002 6:14 PM
Reply to this message Reply
Advertisement
Hi,

Does anyone knows which is the biggest value I can specify to an output buffer in JSP?


Thanks,
Juli


Jay Kandy

Posts: 77
Nickname: jay
Registered: Mar, 2002

Re: Biggest size of the JSP output buffer Posted: Jul 12, 2002 5:41 PM
Reply to this message Reply
Good question! The default buffer size is determined by the container and can be got by response.getBufferSize(). I dont believe theres a maximum limit to the size of the buffer. Atleast its not mentioned in the Servlet 2.2 spec. The container is supposed to provide atleast the size requested by calling response.setBufferSize().

Why did the question come up? Could you share the problem with us?

Sincerely,
Jay

Julio C. Fonseca C.

Posts: 18
Nickname: jfonseca
Registered: Mar, 2002

Re: Biggest size of the JSP output buffer Posted: Jul 14, 2002 9:24 PM
Reply to this message Reply
As a matter of fact, simple curious, I?m gonna teach a jsp course and I wonder aobut it, anyway it seems that
out.getBufferSize() returns the real buffer size, rather response.getBufferSize()

Thanks for your help.
Julio

Jay Kandy

Posts: 77
Nickname: jay
Registered: Mar, 2002

Re: Biggest size of the JSP output buffer Posted: Jul 15, 2002 6:56 AM
Reply to this message Reply
I meant [an instance of HttpServletResponse].getBufferSize() be it response or out!

Flat View: This topic has 3 replies on 1 page
Topic: Java /c# for Linux? and more linux questions Previous Topic   Next Topic Topic: Converting an integer to string

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use