Looks like you need a Map, not a List.

Mark

-----Original Message-----
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2003 7:47 AM
To: Struts Users Mailing List
Subject: iterating thru a collection


I need to iterate thru a collection and put it in an <html-el:select> field.
How do I go about doing this....

My collection type looks like this....

ArrayList options
int selectedOption

The ArrayList of options is the following type:

String label
int id

Can anyone help me???

Thanks in advance...




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to