Google News
logo
Java Struts - Interview Questions
What configuration changes are required to use Tiles in Struts?
To create reusable components with Tiles framework, we need to add following plugin definition code in struts-config.xml file :
<plug-in className="org.apache.struts.tiles.TilesPlugin" >

<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />

<set-property property="moduleAware" value="true" />

</plug-in>
Advertisement