查询到在js中可以使用jstl

<script>
    <c:forEach items="${channel.templates}" var="template">
        alert("${template.id}");
    </c:forEach>
</script> 

 

相关文章: