foo.jsp (this is a jsp that will get a node and then include another jsp that will also use that node)
...
<%
// This is just one example of getting a node from cm. The node could be retrieved
// in many different ways and will be specific to the users actual use case.
Node contentNode = nodeManager.getNode(new ContentContext(), "/WLP Repository/exampleNode");
pageContext.setAttribute("ourContentNode", contentNode);
%>
<cm:setNode node="${ourContentNode}"/>
<jsp:include page="nodeDisplay.jsp"/>
...
nodeDisplay.jsp (this is the file that is included above and will handle displaying node properties)
...
<cm:getNode id="includeNode"/>
<c:forEach items="${includeNode.properties}" var="property">
<b>${property.name}:</b> = ${property.value}
</c:forEach>
...
*
Copyright © 2010, Oracle. All rights reserved.