I think I'm barking up the wrong tree here, but don't know the "right" way to go about it.
In a nutshell: I'm creating a site with a significant amount of pages (using ICEfaces but I don't think that's relevant to my issue) and will have a navigation bar at the top of each page. Obviously, I don't want to replicate (and maintain...) the nav bar code in each page I create, so I'm looking at how one imports page content from another page.
What I've done so far is create a separate file called Navigation.jspx. I've tried leaving it as a fully-formed page on its own, and also as a "broken" JSP document that only has the JSP code I want. Then, in my "real" pages, I used syntax like this:
What I am hoping to happen (clearly it doesn't work this way) is that the import statement will essentially pull in all the page content of my Navigation.jspx and plop it in place in my main page, at which time Jboss will render the whole combined page.
That's my fuzzy little dream world, anyways.
Can anyone point me towards the proper mechanism for including shared content into a page? It's obviously done all over the place but I'm clearly lacking a fundamental concept in getting this to work.