示例:
<script>
<c:forEach var="yanan" items="${yananList}">
if("${yanan.name}"=="yanan7890"){
$("#yananElement").append("<option value=${yanan.name}>${yanan.name}</option>");
}
</c:forEach>
</script>
ajax遍历List<Map<String,Object>>
(返回的yuEList(json)数据:[{yuE=34}, {yuE=35}, {yuE=35}, {yuE=35}])
success : function(data) {
$.each(data.yuEList,function(index,item){
alert(item.yuE)
});