Dear All,
Currently what i need to do now is to set the parameter using <c:set> in the loop <c:foreach>
<c:forEach var="num" items="${fn:split(stl:decode(param, ';')}">
<c:set var="splitCnt" value="${i}"></c:set>
<c:set var="ValOpt${splitCnt}" value="${num}"></c:set>
<c:set var="i" value="${i+1}"></c:set>
</c:forEach>
Content of param is "testing;123"
how i want to set ValOpt1 to have value "testing"
and set ValOpt2 to have value "123"
P/s: red font is not supported. How can i solve this?
Any opinion or solution is most appreciate.
Thanks in advanced.


LinkBack URL
About LinkBacks




Reply With Quote