You need something like the following, please don't copy and paste and then immediately post the list.
<html:select property="sName">
<html:options name="myList" property="sName" />
</html:select>
Judging by the vagueness of you question i guess you'll also have to read some stuff on action forms also.
Cheers Mark
On 5 Jan 2004, at 16:42, Kamal Gupta wrote:
Hi,
I have a drop down list in my jsp page the code is shown below
<td width="100"><b>Name</b></td>
<td>
<select name="sName" style="width:225px">
<logic:iterate id="results" name="sNameSetup" property="nameList"
scope="session">
<option value=""><bean:write name="results" property ="sName"
/></option>
</logic:iterate>
</select>
</td>
When I run this jsp page it displays a list of all names in a drop down list
on the jsp page.
What i want to do is
User will select one of the names from the above select drop down list and i
want to get that value from the jsp page and store it into the database.
how should i get that value from the jsp page
Please help me
Regards
Kamal
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

