struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <>
Subject RE: Integrating displaytag with struts
Date Fri, 18 Jun 2004 11:24:23 GMT

i have an action.clazz that "loads" a collection
and adds the coll to request under key "myCollection"
after that it forwards to a jsp

here is my *simple* jsp.file

<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>

<display:table name="myCollection" defaultsort="1"
  <display:column property="foo" sortable="true"/>
  <display:column property="bar" sortable="true"/>
  <display:column property="yetAnOtherPropertyOfTheBeanInMyCollection"

note, you are now albe (with requestURI) to store the jsp-files
under WEB-INF

Hope that helps you

> -----Original Message-----
> From: Hari Saptoadi [] 
> Sent: Thursday, June 17, 2004 11:07 AM
> To: Struts Users Mailing List
> Subject: Integrating displaytag with struts
> Hi all.....
> i want to use displaytag for replace logis:iterate tag
> is it "name"  in display:table  tag have same function  with 
> "property" in logic:iterate ? if not, how can i set data that 
> i want to display in my jsp ? 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message