I believe that this is a known problem in JRun 2.3.3. If you have a long
block of non-JSP code, then you will get this error. You can fix it by
applying the 2.3.5 patch or inserting JSP comments in the long blocks of the
non-JSP code.
David
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Young Dave
> Sent: Wednesday, December 01, 1999 8:07 PM
> To: [EMAIL PROTECTED]
> Subject: Maximum JSP Page size.
>
>
> Fellow JSP users...
>
> I am using JRUN version 2.3.3 running under Netscape Fasttrack
> server which is
> running on a Solaris 2.6 box. I am finding that my JSP pages can
> be a maximum of
> 15581 bytes before I get a "ArrayIndexOutOfBoundsException"
> exception. I have
> come to this file size via a process of trial and elimination. This limit
> probably varies according to the amount of "header" information
> that the JSP and
> html page contains.
>
> The exact message I get is.....
> <--- start exception message -->
> 500 Internal Server Error
>
> com.livesoftware.jsp.JSPServlet:
>
> javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException
> <--- end exception message -->
>
> I have kept my pages very simple, the top and tail of the page
> can be found
> below. I have tried modifying the buffer size (all the way upto
> 256kb), that and
> the combination of autoFlush seem to make no difference. I am
> using JSP1.0, not
> JSP0.9. Has anybody else come across any similar problems, or am I doing
> something glaringly stupid that I am just not picking up on?
>
> I have been using JSP for a couple of other purposes quite
> successfully to date,
> I came across this problem whlist attempting to put together a
> large design
> document, trying to take advantage of the jsp "include" facility
> (which is not
> used in the following trivial example).
>
> Please forgive any ugly formatting that the brain-dead email
> client that I am
> forced to use here may inflict upon this text.
>
> Any experiences, suggestions or assistance will be warmly
> welcomed. I would
> really like to be able to use the verson of JSP I have here to
> complete this
> job.
>
> <%@ page buffer="8kb" autoFlush="true" session="false"
> errorPage="error.jsp" %>
> <html>
> <title>Test JSP Page</title>
> <body>
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> .... and so on.....
>
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> abcdefghijklmnopqrstuvwxyabcdefghijklmnopqrstuvwxy
> </font>
> </body>
> </html>
>
> Regards,
>
> Dave Young.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html