Don't use the page directive (@), use <jsp:include/> and you will find the 64k limitation can be circumvented.
Mark -----Original Message----- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:37 AM To: Struts Users Mailing List Subject: Re: Code of a method longer than 65535 bytes I'm using JRun 4 - and need it for the EJB support so Tomcat's out. I also use [EMAIL PROTECTED] file="countries.jsp"% to pull the countries in. But regardless of how they are pulled in, they will be expanded within the form to be the actual select text. I guess I'll push Macromedia to eliminate the 64K limit. thanks - dave ----- Original Message ----- From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 14, 2003 12:31 AM Subject: RE: Code of a method longer than 65535 bytes > On Thu, 14 Aug 2003, Suresh Addagalla wrote: > > > Date: Thu, 14 Aug 2003 10:33:38 +0530 > > From: Suresh Addagalla <[EMAIL PROTECTED]> > > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] > > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > > Subject: RE: Code of a method longer than 65535 bytes > > > > > > Hello Criag, > > > > > * Use a JSP page compiler that doesn't make page developers deal > > > with the 64k limit problem (like Tomcat 4.1 or 5.0). > > > > I am using Tomcat 4.1.12 on Windows, and I got this problem. If any > > one has a clear idea on the min version of Tomcat I should use to > > get rid of this problem, please let me know. > > > > Jasper2 was introduced around 4.1.18 or so, so anything later than > that would be a good bet. The current production version is 4.1.27. > > But for the particular case of lots of countries being used twice, you > should really really really be using <html:options> no matter what > container you run on, so that updates to the list only have to happen > in one place rather than two. > > > Thanks, > > Suresh > > Craig > > PS: If you're currently using a Jasper1 based Tomcat, you'll also be > very pleased with the performance improvements in rendering speed for > Jasper2 compiled JSP pages. > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]