开发者

Struts2 tiles How to set attribute values in dynamically…

开发者 https://www.devze.com 2023-04-01 18:52 出处:网络
In tiles.xml set attribute values in static <tiles-definitions> <definition name=\"baseLayout\" template=\"/site/layout.jsp\" >

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" 开发者_Go百科 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 ..


Use a Preparer. Here's how.

0

精彩评论

暂无评论...
验证码 换一张
取 消