Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 84411 invoked from network); 5 Nov 2003 12:09:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Nov 2003 12:09:58 -0000 Received: (qmail 52567 invoked by uid 500); 5 Nov 2003 12:09:37 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 52548 invoked by uid 500); 5 Nov 2003 12:09:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 52528 invoked from network); 5 Nov 2003 12:09:37 -0000 Received: from unknown (HELO sid.armstrong.com) (204.74.20.252) by daedalus.apache.org with SMTP; 5 Nov 2003 12:09:37 -0000 Received: from joedog.org (fnord.armstrong.com [204.74.20.14]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id hA5BxFC0005013 for ; Wed, 5 Nov 2003 06:59:15 -0500 Message-ID: <3FA8E87C.9060406@joedog.org> Date: Wed, 05 Nov 2003 07:09:32 -0500 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: large class file generated.. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Since a JSP is converted to java code, the jsp runs in a method called _jspService (or a very similar name as dicated by the spec). The java language itself has a constraint that no method may be larger than the upper limit you are running into. [I think jasper generates an out.print() for each "\n" combo instead of combining them. I can't remember...] Anyhoo ... See $TOMCAT_HOME/conf/web.xml to turn on mapped files which (I think) moves that static content to another file. Otherwise, if possible split the file and use jsp:include to include content if possible. It you are using @page include extensively - that would be a problem too since that helps you file to become bloated very quickly. -Tim Amarnath Reddy wrote: > BlankHi, > > Could anyone shed some light on this problem? I'm using Tomcat 4.1.18. > JASPER is creating lots of lines for out.write statements and giving the > following error. When compared to weblogic, the generated code after > compiling the page is almost 12 times large. The same code works fine in > weblogic. > > Any suggestions please? > > Thanks, --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org