On Tue, Mar 15, 2005 at 01:31:38PM -0600, Charles P. Killmer wrote:
: Is there a better way to template a site.  I don't like the method of
: including sections into each jsp file.  This makes adding new sections
: to every page difficult.

You could look into Tiles.  That may require Struts, but if not, it's
pretty much what you're after: it applies the GoF Decorator pattern to
web content.

If Tiles is indeed Struts-specific, you could look into other templating
frameworks (none come to mind, but they do exist).  

Finally, you can implement your own (Front Controller pattern) but given
the overhead that may be overkill if you use it just for site branding.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to