Announcement Announcement Module
Collapse
No announcement yet.
Map & Set Retrieved Data from DB as selected in ListBox which already has values Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Map & Set Retrieved Data from DB as selected in ListBox which already has values

    Hi guys,
    Please someone help me with this if you have done this earlier
    Here is the Problem
    I Have a listbox with values say 4 of them
    like,
    </select name = "country">
    <OPTION>CHINA</OPTION>
    <OPTION>INDIA</OPTION>
    <OPTION>SPAIN</OPTION>
    <OPTION>TURKEY</OPTION>
    </select>

    When I query my database I find "INDIA" as entered.
    So my question is How could i display in JSP as INDIA selected without removing other values from the list.
    I am loading the list from the database for the first time when page Loads.

    thanks in advance.http://forum.springsource.org/images...icon_smile.gif
Working...
X