You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by webmaster <we...@cienciapura.com.br> on 2003/01/07 19:38:54 UTC
Jasper and big jsp files ( not working !! )
Hi all,
I have a problem with both Jasper and Jasper2. If I have a huge piece of HTML inserted between two
statements, the generated out.println("") on the compiled code outputs just the first 8192 characters. I tried to
play with the 'largefile' option in the /conf/web.xml:
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<init-param>
<param-name>largefile</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
and it does not work either. I'm using Tomcat 4.1.18 with Jasper2.
Thanks
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Jasper and big jsp files ( not working !! )
Posted by webmaster <we...@cienciapura.com.br>.
Hi,
I guess my problem is a little bit different. I don't see the exception in the error log and when I put something
like:
<% <!-- here goes my code --> %>
<html>
<body>lots of html... more than 8192 charaters</body>
</html>
Jasper compiles the file and the out.println("<html>...") line is trimmed in 8192 characters... :((
On Tue, 7 Jan 2003 20:15:22 +0100, "Holger Brozio" <Ho...@online.de> escreveu :
> De: "Holger Brozio" <Ho...@online.de>
> Data: Tue, 7 Jan 2003 20:15:22 +0100
> Para: "Tomcat Developers List" <to...@jakarta.apache.org>
> Assunto: Re: Jasper and big jsp files ( not working !! )
>
> Hi,
>
> i have reported this as a bug before, see
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14359
>
> for more details, but i have no real solution for this now. Is this also
> your problem?
> One workaround may be to split the jsp files and include the content by a
> jsp:include?
>
> Holger
>
> ----- Original Message -----
> From: "webmaster" <we...@cienciapura.com.br>
> To: <to...@jakarta.apache.org>
> Sent: Tuesday, January 07, 2003 7:38 PM
> Subject: Jasper and big jsp files ( not working !! )
>
>
> > Hi all,
> >
> > I have a problem with both Jasper and Jasper2. If I have a huge piece of
> HTML inserted between two
> > statements, the generated out.println("") on the compiled code outputs
> just the first 8192 characters. I tried to
> > play with the 'largefile' option in the /conf/web.xml:
> >
> > <servlet>
> > <servlet-name>jsp</servlet-name>
> >
> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
> > <init-param>
> > <param-name>logVerbosityLevel</param-name>
> > <param-value>WARNING</param-value>
> > </init-param>
> > <init-param>
> > <param-name>largefile</param-name>
> > <param-value>true</param-value>
> > </init-param>
> > <load-on-startup>3</load-on-startup>
> > </servlet>
> >
> > and it does not work either. I'm using Tomcat 4.1.18 with Jasper2.
> >
> > Thanks
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Jasper and big jsp files ( not working !! )
Posted by Holger Brozio <Ho...@online.de>.
Hi,
i have reported this as a bug before, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14359
for more details, but i have no real solution for this now. Is this also
your problem?
One workaround may be to split the jsp files and include the content by a
jsp:include?
Holger
----- Original Message -----
From: "webmaster" <we...@cienciapura.com.br>
To: <to...@jakarta.apache.org>
Sent: Tuesday, January 07, 2003 7:38 PM
Subject: Jasper and big jsp files ( not working !! )
> Hi all,
>
> I have a problem with both Jasper and Jasper2. If I have a huge piece of
HTML inserted between two
> statements, the generated out.println("") on the compiled code outputs
just the first 8192 characters. I tried to
> play with the 'largefile' option in the /conf/web.xml:
>
> <servlet>
> <servlet-name>jsp</servlet-name>
>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
> <init-param>
> <param-name>logVerbosityLevel</param-name>
> <param-value>WARNING</param-value>
> </init-param>
> <init-param>
> <param-name>largefile</param-name>
> <param-value>true</param-value>
> </init-param>
> <load-on-startup>3</load-on-startup>
> </servlet>
>
> and it does not work either. I'm using Tomcat 4.1.18 with Jasper2.
>
> Thanks
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>