Hello everybody,
 
This is a part of my input.jsp file:
 
<jsp:useBean id="myUtilBean" class="MyUtilBean"/>
.......
 
 
class MyUtilBean {
    private Collection c;
    public Collection getC() {
        c = new ArrayList();
        c.add(new DataBean("value", "name"));
        c.add(new DataBean("value1", "name1"));
        c.add(new DataBean("value2", "name2"));
        return c;
    }
}
.........................

class DataBean {
    private String name;
    private String value;
    // getter and setter methods
....
}

How could I write the <html:options> tag in the input.jsp file so that the jsp 
file produces

<select name="...">
   <option value="name">value</option>
   <option value="name1">value1</option>
   <option value="name2">value2</option>
</select>

Thanks so much.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to