Hi all,
I would like to put the value of 'str' in line 13. Can anyone tell mw what
has to be done.
-Mike.


-----------------------------------------------
<html:select property="selectedValue" value="">

<html:option value=""></html:option>
<%
        // 'ht' is a hash table
        List myList = (List)ht.get("AccountNo");
        if(myList != null)
        {
                for(ListIterator li=myList.listIterator(); li.hasNext();)
                {
                        String str = (String)li.next();
%>
<html:option value="<= str %>">
<%= str %>
</html:option>
<%
                } // for
        }
%>
</html:select>

Reply via email to