JS 中 应用EL & JSTL 取值

JS 中 使用EL & JSTL 取值JS 中 也可以使用EL& JSTLvar step c:out value${step} default0/

JS 中 使用EL & JSTL 取值

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">

?

?

?

?

?

?

?

?