Dear Ranchers,
Scenario: I need to display a big Grid 25(rows)x45(column) cells.
Design done like this: STEP 1. Among 45 columns 5 properties repeat 9 times.
So came up with bean of five properties.
hence each row can be represented as 9 such beans.
(let the bean name be "SampleBean")
STEP 2. Now for 25 rows I have declared 25 list type collections.
Like
STEP 3. Now in
jsp I am printing each list using forEach, 25 times
like
Problem with JSP loading(A performance hit): As the
servlet transalted from jsp contains 25 do-while loops and custum tag(forEach) life cycles calls, jsp loading taking time.
So I want to know How best we can handle this type design issues ? (I am using
struts on top of jsps but using JSTL(forEach))
Thanks in advance.
[ January 22, 2008: Message edited by: Srinivasan thoyyeti ]
[ January 22, 2008: Message edited by: Bear Bibeault ]