Create a Map in your action class, put it into the request, and then use the
html:select tag.  Specify the collection as the one you put into the
request.

-Josh

-----Original Message-----
From: Anurag Garg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 7:11 AM
To: Struts Users Mailing List
Subject: Loop In JSP Page 


Hi,
I have an integer variable in my ActionForm class whose value is say 20.
Now in my JSP I would like to show a drop down with values 1 till 20.
Question is how to run a loop in JSP using the struts.

Anurag Garg


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

Reply via email to