| Author |
Tiels tags are not processing
|
Suneesh Raman
Ranch Hand
Joined: Jun 13, 2002
Posts: 42
|
|
I have following entries 1. in web.xml <taglib> <taglib-uri>/tags/struts-tiles</taglib-uri> <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> </taglib> 2. struts-config.xml <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" /> <set-property property="definitions-parser-validate" value="true" /> </plug-in> 3. tiles-defs.xml <definition name="msgDef" path="/msgtilelayout.jsp"> <put name="header" value="/header.jsp"/> <put name="footer" value="/footer.jsp"/> <put name="left" value="/left.jsp"/> <put name="content" type="string"/> <put name="title" value="Discussion Forum"/> </definition> 4. My jsp is <%@taglib uri="/tags/struts-html" prefix="html"%> <%@ taglib uri="/tags/msgtags" prefix="msg" %> <%@ taglib uri="/tags/struts-tiles" prefix="tiles" %> <tiles:insert definition="msgDef"> <tiles ut name="title" value="Messages"/> <tiles ut name="content" type="string"> <table cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td></td> </tr> </table> </tiles ut> </tiles:insert> But the tiles tags are not getting processed . When I am taking the source of the browser I am getting <tiles:insert definition="msgDef"> <tiles ut name="title" value="Messages"/> <tiles ut name="content" type="string"> <table cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td><table> in the source Any one has any idea why the tiles tags are not getting processed Thanks Suneesh
|
 |
 |
|
|
subject: Tiels tags are not processing
|
|
|