GeeCON Prague 2014*
The moose likes Struts and the fly likes html:option tag and Hashtable..is it possible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:option tag and Hashtable..is it possible" Watch "html:option tag and Hashtable..is it possible" New topic
Author

html:option tag and Hashtable..is it possible

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
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


A$HI$H
 
GeeCON Prague 2014
 
subject: html:option tag and Hashtable..is it possible