开发者

What is the difference between tiles:insert and tiles:get in tiles framework?

开发者 https://www.devze.com 2023-03-10 11:27 出处:网络
I want to use tiles in Struts2 framework. Wh开发者_StackOverflowat is basic difference between tiles:insert and tiles:get as both the tag used for displaying tiles content?<tiles:insert attribute=\

I want to use tiles in Struts2 framework. Wh开发者_StackOverflowat is basic difference between tiles:insert and tiles:get as both the tag used for displaying tiles content?


<tiles:insert attribute="header" ignore="true"> is equivalent to <tiles:get attribute="header" >

The ignore attribute, if true, means ignore the attribute if missing. Otherwise, If ignore is false, the tiles framework will throw an exception and the page will not display if the parameter does not pass. Default value is false in case of "tiles:insert".

0

精彩评论

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