struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davor Cengija <davor.ceng...@mail.inet.hr>
Subject Re: [OT] Java method size limitations
Date Fri, 07 Mar 2003 09:37:41 GMT
Craig R. McClanahan wrote:

> 
> 
> On Thu, 6 Mar 2003, Davor Cengija wrote:
> 
>>
>> I had that problem in a compiled JSP page (therefore, in the created
>> servlet): a table with 150 rows and 8 <bean:write /> columns (some
>> financial data).
>>
>> The solution was to split the table into 3 files and in the first one
>> just included the second and the third using <jsp:include />. Now it
>> works just fine.
> 
> You might also be assisted by updated JSP page compilers that do not put
> the entire page into a single method.  For example, the Jasper2 compiler
> in Tomcat 4.1.18 takes care of this -- it splits your page into multiple
> methods as long as you are not using scriptlets.  (As an extra added
> benefit, the compiled pages run *much* faster than older Tomcat versions
> also :-).
> 

Thanks for the tip!

However, I didn't mention that I used WebSphere 4.0.3 and WebSphere 
Application Developer 4.0.3 (with WAS test environment 4.0.2 in it) for 
development. I don't know how to replace the JSP engine in WAS, and I don't 
think it would by very clever idea, anyway.

Has anyone tried it? Any tips?

Cheers,
Davor
-- 
davor.cengija@mail.inet.hr


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message