Maybe this will help:

Countries is a list with bunch of Objects of type Country which have to be put in the session scope by

session.setAttribute("countries",countries);

countryName is a form bean property of the type "String" where the actual countryName is saved.

Cheerz,

Danny

------------------------------------------------------------
JSP snippet:

<html:select name="checkOutForm" property="countryName" onchange='itemSelected()' value="${checkOutForm.countryName}">
        <html:options collection="countries" property="name"/>
    </html:select>


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

Reply via email to