If your select box property is existing in your Action Form bean and its value matches with any of its option values , struts would select that item by default.
ex: <html:select property='myname'> <html:options collection="mynames" labelProperty="userVisible" property="hiddenfromuser"/> </html:select> and if u have method with name getMyname() ( set method also )in your action form and if getMyname() returns a value(X) and if collection(mynames) has X in it then X would be selected by default, but user could c only labelproperty of X. If you are looking for dynamic control generation and dynamic selection for each row then struts 1.0.2 do not support. HTH yaman -----Original Message----- From: Vijay Kumar [mailto:[EMAIL PROTECTED]] Sent: Friday, 14 June 2002 7:10 PM To: [EMAIL PROTECTED] Subject: Preselected option in dropdown Hi, Is there any way to show preselected option in dropdown. Its like my search returns arraylist and i need to show show particular value in drop down. Thanks in advance Cheers vkvk _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>