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".
精彩评论