Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select some value from html:select at load time

Status
Not open for further replies.

Pro79

Programmer
Dec 11, 2003
24
IN
Hi
i am using html:select and then html:eek:ptioncollection to fill the values in that.
everything is working fine but I want to select some predefined value from that list at load time
which attribute is to be used for selecting that value from the combo box
thanx a lot
Dinesh

 
One way would be pupolate the form bean for the pre-selected value before the <html:eek:ptionCollection/> tag. you can do this either in the coresponding ActionSerlvet, or in the JSP page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top