Dear friends,
I have a JSP which uses following taglibs:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>
My JSP contains a piece of code which calls a tag from the taglib above:
which version of tomcat are you using?
is Expression Language enabled? as it looks like it's passing the ${0}
variable as a string rather than evaluating it.
Try setting the following attribute in your JSP 'page' directive.
<%@ page ... isELIgnored="false" %>
Le Nguyen-Thinh wrote:
> Dear frie
One other possibility -- which servlet spec version do you have
specified in your web.xml? If web.xml declares an older version of the
servlet spec, these ${} expressions may not be available.
--David
Pid wrote:
which version of tomcat are you using?
is Expression Language enabled? as it l
Thanks all for your advice.
My web.xml has an entry:
!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd";>
which, I think, caused the error.
I have inserted the line:
<%@ page ... isELIgnored="false" %>
as Pid sugges
On 8/8/06, Le Nguyen-Thinh <[EMAIL PROTECTED]> wrote:
My JSP contains a piece of code which calls a tag from the taglib above:
What in the world is that supposed to be referring to?
java.lang.NumberFormatException: For input string: "${0}"
Try:
(assuming MAX is actually set somewhere