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. Maybe that will allow you to postpone hitting the limit. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org