File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Tiels tags are not processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiels tags are not processing " Watch "Tiels tags are not processing " New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiels tags are not processing