Struts Tiles

Tiles in Struts helps to provide an easy and common look for Struts application. Struts Tiles is a user interface framework. The steps for creating a tiles application are explained below. Eg: – tiles-defs.xml <!DOCTYPE tiles-definitions PUBLIC “-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN” “http://struts.apache.org/dtds/tiles-config_1_3.dtd”> <tiles-definitions> <definition name=“company-template” path=“/pages/tiles/common-layout.jsp”> <put name=“header” value=“/pages/tiles/template-red/header.jsp” /> <put name=“footer” value=“/pages/tiles/template-red/footer.jsp” /> […]