I believe (surely someone will correct me if I'm wrong:) Struts209 with Tiles204 requires commons-beanutils-1.7.0, commons-collections-3.2, commons-digester-1.8, commons-logging-1.1
I don't know about the <context-param> in your web.xml: I just have <filter>, <filter mapping>, and <listener> James On 10/17/07, talkative <[EMAIL PROTECTED]> wrote: > > > I am trying to integrate Tiles 2 (v 2.0.4) integration with Struts 2 ( > v2.0.9) > and I'm getting errors, following is the snippet: > > ______________________________________________________________________________________ > org.apache.commons.logging.impl.Jdk14Logger error Error executing tag: > Attribute 'header' not found. > org.apache.tiles.TilesException: > Attribute > 'header' not found. > at > org.apache.tiles.jsp.taglib.InsertAttributeTag.render( > InsertAttributeTag.java:112) > at > org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java > :171) > at > org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag( > RoleSecurityTagSupport.java:75) > at > org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag( > ContainerTagSupport.java:80) > > RoleSecurityT E org.apache.commons.logging.impl.Jdk14Logger error Error > executing tag: Attribute 'body' not found. > org.apache.tiles.TilesException: > Attribute > 'body' not found. > at > org.apache.tiles.jsp.taglib.InsertAttributeTag.render( > InsertAttributeTag.java:112) > at > org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java > :171) > at > org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag( > RoleSecurityTagSupport.java:75) > at > org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag( > ContainerTagSupport.java:80) > at > com.ibm._jsp._layout._jspx_meth_tiles_insertAttribute_2(_layout.java:194) > > ______________________________________________________________________________________ > > To integrate tiles 2 with struts 2, I did following changes in my > application: > > Added following files to WEB-INF/lib > *struts2-tiles-plugin-2.0.9.jar > *tiles-api-2.0.4.jar > *tiles-core-2.0.4.jar > *tiles-jsp-2.0.4.jar > > Updated Struts.xml: > > > Updated web.xml with: > > > org.apache.struts2.tiles.StrutsTilesListener > > > > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG > > > /WEB-INF/tiles.xml > > > > Addded tiles.xml under WEB-INF like > > <?xml version="1.0" encoding="ISO-8859-1" ?> > > > > > > > > > > > > > Added layout.jsp, like: > <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________________________ > > Am I missing something ??? :confused: > > Kindly guide me in right direction to fix the issues > > Thanks in anticipation > > > -- > View this message in context: > http://www.nabble.com/Tiles-2-%28v-2.0.4%29-with-Struts-2-%28v2.0.9%29-Integration-Issues-tf4644265.html#a13265988 > Sent from the tiles users mailing list archive at Nabble.com. >
