pc leung wrote the following on 1/10/2006 9:47 AM:
The following is the dropdown box in jsp

<html:form action="setupAssignUserSystem.do" method="post" focus="engName">
            <html:select name="userForm" property="engName">
                <html:options collection="userList" property="engName"/>
            </html:select>


How to get the value selected in action class ?

Assuming UserForm is a standard ActionForm:

UserForm userForm = (UserForm )form;
String engName = userForm.getEngName();

--
Rick

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

Reply via email to