struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramadi Pearse <>
Subject RE: Best Practices for static content
Date Fri, 17 Jun 2005 01:40:10 GMT

I don't have any exceptionally long files. I remember
Rick Reumann saying on this list too that he dumped
SiteMesh in favor of Tiles because of the buffering
problem. I never heard of anyone running
Tiles/SiteMesh together, although it is feasible. 

Maybe I will just stick to creating tile definitions
for my pages. It can't hurt - but I wish someone from
the Struts team could tackle my question too. Someone
must have professionally encountered the same problem
I have.


--- "David G. Friedman" <> wrote:

> Dear Ramadi,
> I would recommend using SiteMesh (it's a filter)
> while you continue using
> Struts & Tiles.
> If you have any exceptionally large pages you wish
> to display (i.e. pages
> and pages and pages of content) you might want to
> watch out for String
> buffer issues.  Why?  SiteMesh receives a complete
> page before quickly
> parsing it and wrapping it per it's configuration. 
> The result is that TRULY
> large pages might blow a string buffer limit.  In
> practical use that may
> never happen but if you have a heavy amount of
> tables and/or long pages, the
> string buffer size might become an issue.  Do I know
> what that size limit
> might be?  No.  I just read about it while
> researching and testing out
> SiteMesh a few months ago and thought I'd provide a
> warning, just in case.
> After all, you never know how much people will
> write.
> Regards,
> David
> -----Original Message-----
> From: Ramadi Pearse []
> Sent: Thursday, June 16, 2005 5:30 PM
> To:
> Subject: Best Practices for static content
> Does anyone have best practices on how to compose or
> decorate stand-alone static content? It seems
> overkill
> to have to modify tile-defs.xml for each new static
> page I want to add to the website. Is SSI or
> SiteMesh
> more appropriate here? By the way, this is to
> complement a web app which already uses Tiles to
> compose the data portion of the app. Thanks!
> __________________________________
> Discover Yahoo!
> Have fun online with music videos, cool games, IM
> and more. Check it out!
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message