title: In struts1.2 how to populate dropdown according to database value
body: <p>I have a textboxes and one dropdown on html whose value is getting saved to database on clicking save button but on searching for the value all textboxes and radio button are getting populated except the foloowing dropdown ..</p>
  
  <pre><code>      &lt;td align= "right" nowrap&gt; 
                              &lt;html:select property="standard"&gt;
  
                                  &lt;html:option value="I"&gt;I&lt;/html:option&gt;
  
                                  &lt;html:option value="II"&gt;II&lt;/html:option&gt;
  
                                  &lt;html:option value="III"&gt;III&lt;/html:option&gt; ...
  </code></pre>
  
  <p>and for populating the values i am using th following code..</p>
  
  <pre><code>        stuform.setStandard((String)tempmap.get("STANDARD"));
  </code></pre>
  
  <p><strong>Note:</strong> I have checked    stuform.getStandard() value is there but it is not getting displayed on jsp.</p>