我是一个新人 我有一张大麻地图 被宣布为
HashMap map = new HashMap();
map.put("code", code);
map.put("url", evaluationTSRCode);
这张地图在我这样的模特和观视窗中通过
return new ModelAndView("purchaseProduct","map","map");
how to access the values code,evaluationTSRCode in jsp using jstl without using iteration i tries like this but i could not get the values.
<c:choose>
<c:when test="(${map.code} != null && ${map.code}=!"" )" >
<td>You can purchase<a href= <c:url value="${map.url}"/> >Directly</a></td>
</c:when>
<c:otherwise>
td>You can purchase Directly</td>
</c:otherwise>
</c:choose>
请你帮助我解决这个问题
提前感谢