IF表达式判断:
<c:choose><c:when test="${param.type=='1'}">星级</c:when><c:otherwise>酒店名称</c:otherwise></c:choose>
获取LIST值:
获取一个:
${roomList[0].roomTypeName}
循环获取:
<select
name="myOrderform.roomTypeName" id="roomTypeName"
onChange="fuzhi(this)" isnull="2" desc="房间种类"
style="width:110px;">
<c:forEach var="rooms" items="${roomList}">
<option value="${rooms.roomTypeName}|${rooms.lowPrice}">${rooms.roomTypeName}</option>
</c:forEach>
</select>