hi friends,
Im currently having a <html:select> where ive got many options value inside it...for example--->
what i want to achieve is no reduce all the code ie the <html:option value="Los Angeles"></html:option> part and populate this part from a collection where the options come from a collection object from my action form.how will i achieve this using <html"optionsCo llection> tag.
please help.Any inputs will be appreciated.
regards,
ajos
Im currently having a <html:select> where ive got many options value inside it...for example--->
Code:
<html:select property="branch" size="1"> <html:option value="New York"></html:option> <html:option value="kingston"></html:option> <html:option value="Los Angeles"></html:option> and so on.....
please help.Any inputs will be appreciated.
regards,
ajos