Title: Message
Yogesh,
 
This is straight from one of my JSPs:
 

<html:select property="templateId">
    <html:options collection="designs" property="id" labelProperty="name"/>
</html:select>

I have a loaderTag that loads the design objects from the database and puts them into ArrayList. This array list is then put into the session under name "designs". Each design object has id and name attribute that I am using for the options.
 
Hope this helps.
 
Jay Patel
972.701.9773
972.849.0373 Mobile
[EMAIL PROTECTED]
Dextera Group, Inc.
-----Original Message-----
From: yogesh b [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 24, 2001 1:30 PM
To: [EMAIL PROTECTED]
Subject: Urgent : Any Example which will show <htlm:select > <html:option> tag

Hi All,
 
Any one can send the simple example which will eloborate me  how to use struts <htlm:select > <html:option> with form and jsp.It's very urgent. Thanks in Advance.
 
regards
 
Yogesh Borse

Reply via email to