• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:option tag and Hashtable..is it possible

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
How do i display a drop down box from hashtable data
here is my form definiation
<form-bean dynamic="true" name="loginForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="as400list"
type="java.util.Hashtable" />
</form-bean>

in my html i define
<html:form action="/login" focus="userId"
method="post" style="margin:0px;" >
// logic to display html:select with html ption tag
</html:form>

Ashish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic