Number Of Page View:100,000+/Months
LOGIN |New User


What is the use of <tiles:add/> and <tiles:get/> tags in Tiles tag library in Struts framewrok?
The <tiles:add/> tag is used to add parameters to a parameter as defined by a <tiles:putList/> tag. The <tiles:add/> tag has a body type of JSP and supports seven attributes:
beanName, beanProperty, beanScope, direct, role, type, value.

The <tiles:get/> tag is used to retrieve and insert parameters previously defined from the Tiles context. With the exception of ignore attribute being defaulted to true, this tag is functioanlly the same as the <tiles:insert/>. The <tiles:get/> tag has no body content and support four attributes:
name, ignore, flush, role.