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]

Reply via email to