Question

In tiles.xml set attribute values in static

<tiles-definitions>
<definition name="baseLayout" template="/site/layout.jsp" >
<put-attribute name="body" value="/index.jsp"/>
<put-attribute name="top" value="/site/footer.jsp"/>
<put-attribute name="bottom" value="/site/header.jsp"/>
</definition>
</tiles-definitions>

Can I give attribute values in dynamically.. .It is passable. Please give me some tips ..

Was it helpful?

Solution

Use a Preparer. Here's how.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top