You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "tarek.nabil" <ta...@isoft.ae> on 2005/05/22 10:25:46 UTC

JSP Buffer Size

Hi everyone,

Is there some way that I can set the buffer size for all JSPs to some
value other than the default 8kb without having to do it in every JSP?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: JSP Buffer Size

Posted by Martin Gainty <mg...@hotmail.com>.
assuming you can handle the exception when buffer overflows
<%@ page buffer="9kb" autoFlush="false" %> 
Martin-
----- Original Message ----- 
From: "tarek.nabil" <ta...@isoft.ae>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Sunday, May 22, 2005 4:25 AM
Subject: JSP Buffer Size


Hi everyone,

Is there some way that I can set the buffer size for all JSPs to some
value other than the default 8kb without having to do it in every JSP?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: JSP Buffer Size

Posted by Catalin Croitoru <ca...@gmail.com>.
Hi,

if you use Java Servlet specification version 2.3 (at least) you can
use a Filter. make your filter intercept the jsp and in that filter
you can change the buffer. for a more information about Filter take a
look at this:

http://java.sun.com/products/servlet/Filters.html

Catalin


On 5/22/05, tarek.nabil <ta...@isoft.ae> wrote:
> Hi everyone,
> 
> Is there some way that I can set the buffer size for all JSPs to some
> value other than the default 8kb without having to do it in every JSP?
> 
> Thanks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org