You could try something along these lines, if I understood your
question:

 

<table>

<tr>

            <logic:iterate id=�data� name=�aBean� property=�results�>

            <td>

                        <table>

                        <logic:iterate id=�dataItem� name=�data�>

                        <tr>

                                    <td><bean:write
name=�dataItem�/></td>

                        </tr>

                        </logic:iterate>

                        </table>

            </td>

            </logic:iterate>

</tr>

</table>

 

This will iterate through all of the vector of vector displaying them in
columns.  The source vector is gotten by aBean.getResults().

 

-----Original Message-----
From: keerti shrimal [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 15, 2002 6:02 AM
To: [EMAIL PROTECTED]
Subject: Displaying a Vector of vectors in JSP using STRUTS

 

Hi 
 I have two jsp pages.From one page, the user selects a record based on
which i have to get the details and display them in another JSP.I have a
bean in which i get all the details to be displayed.This bean method
returns a vector of vectors (property of the bean). How do i display
these records as a table with each element in separate columns without
using the server side tags in my JSP ?

 Is there any other way of doing this rather than getting a vector on
the JSP directly by saying <jsp:get property .....> in the
<logic:iterate> tag  ??

 Any pointers to this problem are welcome. 
Please rely back to my id : [EMAIL PROTECTED] 

TIA 
Keerti 


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 

Reply via email to