where you will implement the tiles in struts?

Answer Posted / kanagaraj

we need to add struts-tiles.tld and the following
Tilesplugin to the 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>

And we need to mention the header,footer,body,and leftmenu
in the tiles-defs.xml.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which library is provided by struts for form elements like check boxes, text boxes etc?

693


What is action support class in struts2?

745


What are the ways in which duplicate form submission can occur?

687


What is role of actionservlet?

750


What is the purpose of constant tag in struts.xml?

705


Explain the complete struts validator framework.

742


How can we integrate log4j in Struts2 application?

767


What are interceptors in struts 2?

759


What is apache struts framework?

709


How do I install struts?

774


What is the purpose of @validations annotation?

737


What are disadvantages of Struts?

718


What does apache struts do?

679


How does struts work?

716


Which servlet does the struts framework use?

712