JS 中 也可以使用EL& JSTL
var step = "<c:out value='${step}' default='0'/>";
switch(step) {
case "0":
.....................
default:
break;
}
var total = <c:out default="0" value="${total}"/>;
var orderPrice=<c:out value='${packageProductOrder.order.sum}'/>;
<c:set scope="page" var="singleProductSize" value="0"/>
<c:forEach items="${packageLine.journeys}" var="journeysItem" varStatus="loopStatus">