hi u can use 2 different <bean:define..> tag for 2 different arraylist
and iterate using the id of the <bean:define> and get the values for the same
--Snehal
--
Snehal K. Gandhi | Email : [EMAIL PROTECTED]
Financial Services Group | http://www.cognizant.com <http://www.cognizant.com/>
Cognizant Corporation | Ph:91-44-52096000
Mobile : +91 98400 57326 | Xtn:8118, Vnet:48128
-- The secret to enjoying your job is not to change your job but to change your
attitude..
-----Original Message-----
From: Ramachandran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 7:50 PM
To: Struts Users Mailing List
Subject: Regarding Array List - Select
Hi all,
I am in the need of help regarding array list with select
option. I am having two Array List. One is for displaying value in the
select box. Other is for value in the option.
How can i do that one.This is my code. If any body knows,
please mail me.
Here 'allreqids' is one arraylist and 'allreqidsonly' is another
arraylist. Here i want to give the value of 'allreqidsonly' in the option.
And 'allreqids' if for berween the options.
How can i do that one....
<select name="reqidcheck" size="1">
<%for(int i = 0; i < allreqids.size(); i++) {%>
<option
value="<%=allreqids.get(i)%>"><%=allreqids.get(i)%></option>
<%}%>
</select>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]