>>I suggest that you try sending a page with dummy data to a browser
I sent a large page (about 7MB of html) to the browser and it was pretty fast. There is no problem with the browser rendering the data. My current page html is around 2.7MB. >>Are all your filter-mappings really needed for *.jsp (responses)? Hmmm they might not be needed, but removing the mappings for jsp's would impact the entire app. And that would be huge. I dont think this would be accepted by the client or even the guys higher up. "Strachan, Paul" <[EMAIL PROTECTED]> wrote: I find all my request based filter-mapping is for *.do,index.jsp (requests) e.g. request comes in something.do (filter is invoked) struts forward to tile --> includes various *.jsp (no filter mapping so no filters invoked) Are all your filter-mappings really needed for *.jsp (responses)? -----Original Message----- From: Richard Yee [mailto:[EMAIL PROTECTED] Sent: Tuesday, 12 September 2006 12:00 PM To: Struts Users Mailing List Subject: Re: Each tiles:insert invokes ServletFilter Bhay, Before you spend much time on the current design, I suggest that you try sending a page with dummy data to a browser that has 1000 rows and 10 columns. You might be able to demonstrate the lack of usability to the customer and also uncover browser rendering issues with the design. -Richard Bhay Zone wrote: > I tried to simplify the problem when I posted my question. Here is the actual scenario. > > Every piece of data displayed on my page is displayed using a tiles - thats for uniformity across the application. There are around 1000 rows being dispalyed, and each row has 10 columns (thus the figure 10k). > > The business users want to see all the rows on one page. I really have to go with the tiles / servlet filters thing. That's how the application was written. It is beyond me to make those decisions. I have to find a way to optimize the current page. Basically I need to find a way to stop the filters being called for a tiles:insert. Once that happens, I should be on my way. > > David Friedman wrote: > Have you considered looking at a template engine such as Velocity or > Freemarker? I'm sure it would have greater efficiency than reinvoking the > servlet and filter chains 10k times. And yes, I will hold back my urge to > ask why you are putting 10k items on any page in the first place. > > Regards, > David > > -----Original Message----- > From: Bhay Zone [mailto:[EMAIL PROTECTED] > Sent: Monday, September 11, 2006 4:12 PM > To: user@struts.apache.org > Subject: Each tiles:insert invokes ServletFilter > > > Hi, > > I have a jsp page in which tiles:insert is called 10,000 times. I have 7 > servlet filters defined in the application. My problem is that for each > tiles:insert the entire filter chain is also invoked. This degrades my page > rendering. I replaced the tiles:insert with out.println - in this case, the > filter chain was not getting called and page performance improved > dramatically. > > I want a way to continue using filters and tiles, but avoid the filters > being called for each tiles:insert. > > I have to find a solution to this. Any help is appreciated. > > Thanks, > Bhayzone > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------- > Find out what India is talking about on - Yahoo! Answers India > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW