使用springmvc 时 modelandview里面响应的集合在前台javascript中可以使用如下方式遍历:
var arr = new Array();
<c:forEach items="${flowNodeAndDeadList}" var= "module">
var module = {"id":"${module.node_id}","name":"${module.node_name}"};
arr.push(module);
</c:forEach>