Forum

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

Reply

Describe the <tiles:useAttribute/> and <tiles:importAttribute/> tags in Tiles tag library in Struts framewrok?
The <tiles:useAttribute/> tag is used to retrieve a Tiles object from the Tiles context and expose that object as a scriptlet variable. The <tiles:useAttribute/> tag has no body and supports five attribute:
name, id, className, scope, ignore.

The <tile:importAttribute/> tag is ues to import a Tiles object from the Tiles context into a JSP scriptlet variable, which is stored in the named scope. If the name and scope attributes are not included are not included in the tag instance, then all Tile objects stored in the Tiles context are imported and placed in page scope. The < tiles:importAttribute/> tag has no body and supports three attributes:
name, scope, ignore.