JSTL取值问题
Eclipe3.01+Tomcat 5.57 + Lomboz3.0 + jakarta-taglibs-standard-1.1.1
代码:
<c:forEach var="localeString" items="${locales.localeNames}" >
<c:choose>
<c:when test="${selectedFlag}">
<c:choose>
<c:when test="${f:equals(selectedLocaleString,localeString)}" >
<option selected>${localeString}</option>
</c:when>
<c:otherwise>
<option>${localeString}</option>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<option>${localeString}</option>
</c:otherwise>
</c:choose>
</c:forEach>
</select>
为何select中显示${localeString}?