tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Le Nguyen-Thinh <>
Subject Taglibs ; error in a JSP using expression langluage
Date Tue, 08 Aug 2006 11:00:40 GMT
Dear friends,

I have a JSP which uses following taglibs:

<%@ taglib prefix="c" uri="" %>
<%@ taglib prefix="fn" uri="" %>

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">					
					<c:set target="${argBean}" property="name" value="${paramValues.argName[ind]}" />
					<c:set target="${argBean}" property="type" value="${paramValues.argType[ind]}" />
					<c:set target="${argBean}" property="mode" value="${paramValues.argMode[ind]}" />
					<c:set target="${argBean}" property="state" value="${paramValues.argState[ind]}" />
					<c:set target="${predBean}" property="predArg" value="${argBean}" />

The Tomcat server returns following error:

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

It seems to me that Tomcat could not interpret the JSP. 
My question is, do I miss some libraries? Do 
My application runs on Linux Debian, Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_04-b05) (j2sdk1.5-sun).
The taglibs jstl.jar and standard.jar stem from jakarta-taglibs-standard-1.1.2.

Thanks a lot for your help.


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

View raw message