struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Lea <ja...@kumachan.net.nz>
Subject Re: JSP Buffer Size
Date Mon, 23 May 2005 07:06:34 GMT
If you are using Servlet 2.4, then you can use the <include-prelude> to 
specifiy a page that is included at the beginning of every jsp page.  
You can put page directives there.

http://java.sun.com/webservices/docs/1.3/tutorial/doc/JSPIntro13.html

eg

<include-prelude>/template/prelude.jspf</include-prelude>



tarek.nabil wrote:

>Thanks Martin. But this is exactly what I'm trying to avoid. If I use
>the page directive, then I would need to do that in EVERY page. My
>question is, is there a way I can do this with Struts in some central
>place only once?
>
>-----Original Message-----
>From: Martin Gainty [mailto:mgainty@hotmail.com] 
>Sent: Sunday, May 22, 2005 4:13 PM
>To: Struts Users Mailing List
>Subject: Re: JSP Buffer Size
>
>assuming you can handle the exception when buffer overflows <%@ page
>buffer="9kb" autoFlush="false" %>
>Martin-
>----- Original Message -----
>From: "tarek.nabil" <tarek.nabil@isoft.ae>
>To: "Struts Users Mailing List" <user@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
>
>
>  
>

-- 
Jason Lea



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


Mime
View raw message