satish kumar wrote: > <display:table name="test" pagesize="20" export="true" cellspacing="1" > class="dataTable" > > > <display:caption>Summary</display:caption> > > <display:column property="list1" title="SSN"></display:column> > > <display:column property="list2" title="EMP ID"></display:column> > > </display:table> > > > > list1 & list2 return /java.util.List./ > > // > > Problem is when i run my JSP page, the whole list value is getting > displayed > > example: if list1 return the list values as -> [222909, 175834, > 323867, 323877, 323904, 323915, 388232, 324374, 388754] > > i need to display the each values in single row. > > please suggest me a solution. > You need to restructure your data. Displaytag cannot iterate through two collections like you have here.
Your test object needs to be a collection that contain discrete objects that hold the data for each row. Ed! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user