Assume a standard Tiles layout with Header, Navigation, Body, and Footer,
each implemented as a JSP.   In this setup, the navigation.jsp is
responsible for dynamically generating the left hand navigation from an XML
configuration file.  For each page request, this component needs to build
the navigation appropriate for that page.  The body.jsp contains a parameter
needed by the navigation to determine the correct navigation.  
 
What are some approaches for passing values like this from the body.jsp to
the navigation.jsp?   The goal is to allow web programmers to add body.jsp
(or new pages) to a web site by creating and adding the page only.  The page
would contain the body's HTML and this navigation parameter.  Assuming the
appropriate navigation is already defined in the configuration file, no
other configuration would be needed to add a page (i.e. struts*.xml,
tiles*.xml)
 
Thanks
Allen

Reply via email to