struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirbek Nosinov" <>
Subject struts 2 + tiles - add list in tiles definition
Date Wed, 05 Sep 2007 06:08:16 GMT
hi everybody

I need you help
so next is the problem
i use struts 2.0.9 together with tiles 2.0.4
everything is ok, but when i have  next definition for tiles

 <definition name=".startPage" extends=".layout1">
  <put-attribute name="title" value="Start Page" />
  <put-attribute name="body" value="/pages/public/start.jsp" />
  <put-list-attribute name="items">
   <add-attribute value="12qw" />
   <add-attribute value="212qw" />
   <add-attribute value="132qw" />

and then i try to use this list in my jsp page

<tiles:useAttribute name="items" id="items" classname="java.util.List"/>

and on this point i got the error:
org.apache.tiles.TilesException: Error including path '/layouts/public-
layout.jsp'. An exception occurred processing JSP page /layouts/public-
layout.jsp at line 26

line 26 is the line with my <tiles:useAttribute name="items" id="items"

can anybody help me

thanks in advance

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message