I am able to disply the drop-down menu in the conventinal way: <bean:define id="nameList" name="PageBeans" scope="request" type="java.util.ArrayList" /> <html:select size="1" property="anything" multiple="false"> <html:options collection="nameList" property="name" labelProperty="name"/> </html:select> </html:form>
I have only one property in my JavaBean and that property is 'name'. Therefore, I do not have a label for it. 1. how do I show -Select- in this drop-down menu? 2. I tried to convert the code and use <c:...> tags, but I have a number of problems: <select size="1" name="anything" multiple="false"> <c:forEach items='${PageBeans}' var='item'> <option value="<c:out value='${item.name}'>" <c:if test="${item.value==PageBean.name}">selected</c:if>> <c:out value='${item.name}'> </option> </c:forEach> </select> and the other way: <select size="1" name="anything" multiple="false"> <c:forEach items="${PageBeans}" var="item"> <option value="${item.name}" ${item.value==PageBean.name ? "selected" : }>${item.name} </option> </c:forEach> </select __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]