开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜