Here is the solution for the issue I raised. Yeah, it is a dumb question.

<html:select name="someBean" property="strArrValuesToBePreSelected">

<html:optionCollections name="sameBean" property="valuesToBeDisplayed"/>

</html:select>

If it is only one preselected vlaue then use "value" in html:select.

The catch here that I understood later is property in html:select should be 
array of strings if strings are displayed in the option list. 

 

                
---------------------------------
 Click here to donate to the Hurricane Katrina relief effort.

Reply via email to