Hello,
I would like to give an expression "3-${i}" to c:forEach end, and I got the following error
javax.servlet.jsp.el.ELException: An exception occured trying to convert
String "3-1" to type "java.lang.Integer"
at org.apache.commons.el.Logger.logError(Logger.java:481)
..... the actual code is
<c:set var="i" value="1" />
<c:forEach var="j" begin="1" end="3-${i}" step="1">
<c:out value="${j}" /><br />
</c:forEach>
......
How can I solve this issue ?
Thanks in advance.
cscsaba