using javascript variable inside jstl
问题 I want to iterate a HashMap in javascript using jstl. is it possible to do like this? function checkSelection(group,tvalue){ alert(group); alert(tvalue); <c:forEach items="${configuredGroupMap}" var="groupMap"> alert("aa<c:out value="${groupMap.key}"/>"); <c:if test="${groupMap.key==group}"> alert("t<c:out value="${groupMap.key}"/>"); <c:if test="${groupMap.value==tvalue}"> alert("equal"); </c:if> </c:if> </c:forEach> } it's not going inside after <c:if test="${groupMap.key==group}"> 回答1: "to