tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <>
Subject Re: Taglibs ; error in a JSP using expression langluage
Date Tue, 08 Aug 2006 12:32:20 GMT
On 8/8/06, Le Nguyen-Thinh <> wrote:

> My JSP contains a piece of code which calls a tag from the taglib above:
> <c:forEach begin="${0}" end="${MAX-1}" step="${1}" var="ind">

What in the world is that supposed  to be referring to?

> java.lang.NumberFormatException: For input string: "${0}"

Try:  <c:forEach begin="0" end="${MAX-1}" step="1" var="ind">

(assuming MAX is actually set somewhere to an integer value...)

Hassan Schroeder ------------------------

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message