Re: Code Too Large for Try Statement in Catalina

2004-08-19 Thread Peter Lin
what I meant was what Tim said. peter On Thu, 19 Aug 2004 12:59:59 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > Thanks, Tim, > > The file actually is quite simple. It is a simple form with HTML radio > buttons for choosing colors. There are a LOT of colors, but the code is > pretty str

Re: Code Too Large for Try Statement in Catalina

2004-08-19 Thread Michael McGrady
Thanks, Tim, The file actually is quite simple. It is a simple form with HTML radio buttons for choosing colors. There are a LOT of colors, but the code is pretty straightforward. I need to get the code into a JSP file so that I can utilize Struts. Michael Tim Funk wrote: 1) don't use compi

Re: Code Too Large for Try Statement in Catalina

2004-08-19 Thread Michael McGrady
Thanks, Peter, I am using Tomcat 5.0. What do you mean by "reorganize" my JSP? Can I write the JSP with an include that pulls in the code? What I have is a color pallet which needs to be in one piece and is 338 kb in size. Thanks, again, Michael Peter Lin wrote: the only way is to reorganize

Re: Code Too Large for Try Statement in Catalina

2004-08-19 Thread Tim Funk
1) don't use compile time includes 2) split your page into multiple files which can use jsp_includes. Any file which needs to be this big is probably extrememly painful to debug. 3) followup to tomcat-user, not tomcat-dev -Tim Michael McGrady wrote: I have the following error: org.apache.jasper.

Re: Code Too Large for Try Statement in Catalina

2004-08-19 Thread Peter Lin
the only way is to reorganize your jsp. this is an old issue dating back quite a bit. are you using tomcat4 or 5? if you're using tc4, I would recommend upgrading to tc4.1.x or 5.x. the original jasper generated code which would easily exceed the limit. the newer jasper2 which is used with tc4.1