users@glassfish.java.net

Re: gettting "code too large for try statement" error in Sun One 8.1 Server

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Thu, 28 Jan 2010 12:50:58 -0500

Although, thinking about it later, this will probably lead to the
exact same problem if you statically include the file. Sorry 'bout that.

On Jan 28, 2010, at 12:04 PM, Bobby Bissett wrote:

>>
>> Try breaking up your JSP into smaller pages and include them via
>> jsp:include, or try refactoring some of your JSP's content into
>> custom
>> tags.
>
> An alternative to jsp:include is:
> <%_at_include file="/WEB-INF/jspf/some_example.jspf" %>
>
> You can use this if the file you're including is static, and it will
> mean fewer calls to the server. Some info: http://java.sun.com/products/jsp/tags/11/syntaxref11.fm6.html
>
> Cheers,
> Bobby