Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Major performance issue while displaying data in tabbedPanel

Gajbhe, Laxman (Contractor)

2007-03-22

Replies:

Hi,



I have following snippet of code:



<%@(protected)" %>

<head>

   <title>Home</title>

   <s:head theme="ajax"/>

</head>



<body id="home">

   <s:tabbedPanel id="mainTabContainerg">

       <s:div refreshOnShow="true" id="act" loadingText="Loading"
label="Activity" theme="ajax"

           href="home/home!recentActivity.action" />

   </s:tabbedPanel>

</body>



Action returns about 500 records in the simple table. This takes about
14 seconds to render.



Same data gets rendered in about 6 seconds if I replace tabbedPanel by:



<s:action name="home!recentActivity" executeResult="true"
namespace="/home"/>



Or



Directly invoke action from browser link.



We are using IE 6.0



I would appreciate your comments/feedback.



Thanks,



Laxman



©2008 junlu.com - Jax Systems, LLC, U.S.A.