Hi Kevin,

Have you tried upping the buffer size in the page directive? (it's only 8kb
by default, (JSP spec not a container limitation) and if autoflush is on
then that will cause problems):

<%@ page buffer=40kb %>

Chris

On Thu, 9 May 2002 11:46 pm, [EMAIL PROTECTED] wrote:
<SNIP>
> The issue I had with this is the size of the try/catch block that's
> generated when the jsp is compiled by the servlet container.
>
> To handle the stardard jsp error processing, the java servlet generated
> from the jsp file has a "try" at the top and a "catch" at the bottom.
Then
> if a runtime or other unchecked exception occurs anywhere on the page, it
> gets caught in this try/catch block. The jsp error page directive is
based
> on this.
>
> Well, there is a java-imposed limit to how much code you can put between
a
> "try" and a "catch". And when you have a whole bunch of struts tags that
> get expanded out in the compile jsp, the java files can be come very
large.
> I had one that was over 8000 lines.
</SNIP>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to