I'm interested in implementing the Struts and Tiles frameworks for a web
site (moving slowly toward web application).  Is it possible, or even
recommended to design something similar to the following for the static
portions of a web site.  

Assume Tiles have been defined to provide a common site wrapper.  What's
left is to select the body (jsp or Tile).  Do this by defining a layout that
will provide the site wrapper and receive that content/body (page or Tile)
as a parameter.   Then a generic "action" could grab the page requested from
URL and put into common scope.  The layout would grab the requested page
name from the common scope and result in the requested page.

An approach like this seems to simplify the adding of new content pages by
eliminating configuration for tiles and struts.  It seems this would also
help when implementing a content management system that would simply add the
content (body) portion of these pages.  For example, once a body was added
to the site, a request for that page would be successful with no additional
configuration.  


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

Reply via email to