tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
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 <nthinh@nats.informatik.uni-hamburg.de> 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 ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message