Article:
  JSP 2.0: The New Deal, Part 1
Subject:   functions
Date:   2004-02-16 13:36:19
From:   duhua
I used Tomcat 5.16 and jakarta jstl 1.1 and when i use the functions it says not implemented.
Did i make a mistake or is it normal ?


Tomcat says :

An error occurred while parsing custom action attribute "value" with value "${fn:length(ligne)}": org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported.
Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • functions
    2004-04-28 19:32:18  Hans Bergsten | O'Reilly Author [View]

    Most likely, you're using the JSTL 1.0 URIs in the taglib directive instead of the JSTL 1.1 URIs, e.g.,

    http://java.sun.com/jstl/core

    instead of

    http://java.sun.com/jsp/jstl/core

    The JSTL 1.0 libraries handles EL expressions by themselves, so to the JSP 2.0 container, they look like custom actions that don't accept EL values.
  • functions
    2004-03-11 01:52:45  tforrester [View]

    Hi, I am having the same issue, have you found a solution?
    • functions
      2004-04-02 12:31:44  markbirenbaum [View]

      Hi. You probably don't have your web app set to be a servlet 2.4 web app.

      Your wep app declaration in your web.xml should look like this:

      <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">