Hi
I am displaying items form data base in a
jsp in a dropdown list using html:select and html
ption tag. Now I have to display them in alphabetical order according to a property(legalBusinessName).Help me out in this. This is the piece of code..
<html:select
property="legalBusinessName" styleClass="select"
styleId="legalName" onchange="fetchUserDetails()">
<html
ption value="-1">---select---</html
ption>
<html
ptions collection="accountNamesList" property="acctId"
labelProperty="legalBusinessName" />
</html:select></td>
[ December 06, 2007: Message edited by: Ben Souther ]