-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Konstantin,
On 1/18/2010 7:08 PM, Konstantin Kolinko wrote: > 2010/1/18 iainmac <iain_macau...@hotmail.com>: >> >> Hi, >> >> I am moving from Tomcat 5 to 6, and jsp's that worked fine in 5 now give me >> this length error. >> >> I also have moved from java j2sdk1.4.1_02 to jdk1.6.0_18. >> >> I know I can rewrite the code, and over time I probably will, but is there a >> way of configuring Tomcat 6 to enable me to compile these jsp's? >> > > If you add the following option > > <init-param> > <param-name>mappedfile</param-name> > <param-value>false</param-value> > </init-param> > > to the JspServlet declaration in conf/web.xml, the JSP engine will not > generate separate write() command for each line of your JSP. I didn't know you could do that (though it's right there in conf/web.xml if I had cared to read it). Thanks for the tip. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktVyLMACgkQ9CaO5/Lv0PBjiwCgh8pDvmF5VmrIjMdwFoAPGXzx Oe8AnjESQ9PRroz5ZX6TYHV+wrQP3J98 =V3YA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org