dcsimg
Struts using a Collection of Collection in an iterate
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nathalie_Keymeulen
Posted On:   Thursday, December 12, 2002 05:58 AM

Hi, can anyone help me with this. Action : companyList is an Array of Collections named "companyList". possible values. compColl =("Company a","street 1","Mister x"), ("Company b","street 2","Mister y"), ("Company c","street 3","Mister z"), ("Company d","street 4","Mister e") request.setAttribute("companyList", compColl); In my jsp I want to display this    More>>

Hi,


can anyone help me with this.


Action :


companyList is an Array of Collections named "companyList".



possible values.



compColl =("Company a","street 1","Mister x"),

("Company b","street 2","Mister y"),

("Company c","street 3","Mister z"),

("Company d","street 4","Mister e")



request.setAttribute("companyList", compColl);



In my jsp I want to display this
















Company a street 1 Mister x
Company b street 2 Mister y
Company c street 3 Mister z
Company d street 4 Mister e



--------------------------------------------------

this is what I had in mind but it's not working.



















Can anyone help me with this ? URGENT


Thanks in advance    <<Less

Re: Struts using a Collection of Collection in an iterate

Posted By:   Olivier_Michallat  
Posted On:   Thursday, December 12, 2002 06:13 AM

What's not working? I've tried it and it works for me...

Do you get any error message?
About | Sitemap | Contact