struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Colson" <tcol...@cisco.com>
Subject RE: Templates: a design question
Date Wed, 01 Aug 2001 16:37:07 GMT
> The approach I use (and I believe it is a common approach) is to have two
> jsp pages for each page on my site that is going to use templates.
> MainLayout.jsp - the main template layout page.
> ShopCart_content.jsp - the actual content of the shopping card page.
> ShopCart.jsp - the shopping cart page that references MainLayout.jsp and
+1
Heh heh - we even use the same naming convention pagename.jsp +
pagename_content.jsp.

One little issue we've run across is when the Designer wants to display
something dynamically in the MainLayout.jsp based on conditions/stuff
happening in the content.jsp.

Cheers,
Tim



Mime
View raw message