RE: large class file generated..
Howdy, It's been corrected already, as you'd have seen if you had a version newer than 4.1.18. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Amarnath Reddy [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 05, 2003 7:24 AM >To: Tomcat Users List >Subject: RE: large class file generated.. > >Tim, > >Thanks for the suggestions. Infact, you are right about the out.print >statements. JASPER is creating new statements for each End Of Line and >hence >the problem. But weblogic is combining all of them to a sizeable single >out.write statement. >However I got through the problem by using run-time Jsp Includes and you >have suggested this too. thanks. > >Apache Developers should dig in deep to correct the problem in JASPER >itself! > >Amar. >-Original Message- >From: Tim Funk [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 05, 2003 5:40 PM >To: Tomcat Users List >Subject: Re: large class file generated.. > > >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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: large class file generated..
Tim, Thanks for the suggestions. Infact, you are right about the out.print statements. JASPER is creating new statements for each End Of Line and hence the problem. But weblogic is combining all of them to a sizeable single out.write statement. However I got through the problem by using run-time Jsp Includes and you have suggested this too. thanks. Apache Developers should dig in deep to correct the problem in JASPER itself! Amar. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 5:40 PM To: Tomcat Users List Subject: Re: large class file generated.. 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: large class file generated..
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]