Lets assume that I have a 2-D array with the values. I display each cell using a tile. So if a number has to be dispalyed, we have a numeric-tile. Similarly We have a date-tile, we have a percent-tile etc. Using this approach, we maintain consistency in the data dispaly, for e.g we dispaly only two decimal places for all numeric data, All dates are displayed as mm-dd-yyyy. Do you get what we are trying to achieve with this tiles based approach? Now this tiles approach is used throughout the application (on all web pages). Making a change to this means changing almost all the pages. Now that will be huge in terms of effort and cost. I was looking for a solution of the following lines: The response gets flushed after/before each tile insert - thus invoking the filter. If I can avoid the response from being flushed each time, then maybe the filters will not get called. The tiles:insert tag has an attribute called as 'flush', which when set to false, does not flush the response. But doing that does not seem to be working for me. I also tried setting buffer="2700k" autoFlush="false" in the jsp page directive, but there was no change. Ran out of all tricks and so came here.
Thanks. David Friedman <[EMAIL PROTECTED]> wrote: What, specifically, is stopping you from making the data a 2 dimensional array and using a c:foreach kind of JSP loop instead of trying a tiles definition. It would help to explain what this uniformity is that you need to replicate. Is it something you can lock down with a few site-wide styles? It sounds like you have some flexibility so perhaps a different view on that page layout might help the situation. Regards, David -----Original Message----- From: Bhay Zone [mailto:[EMAIL PROTECTED] Sent: Monday, September 11, 2006 5:11 PM To: Struts Users Mailing List Subject: RE: Each tiles:insert invokes ServletFilter 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. --------------------------------------------------------------------- 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