> 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


Reply via email to