I had a similar problem recently

Assuming that you have the appropriate jar files in the appropriate locations you will need the following in your application's web.xml

<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 web-app_2_4.xsd"
    version="2.4">


... and something like the following in your JSP

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>

this tells Tomcat to be compatible with the appropriate version of the Servlet spec and to refer to the appropriate jstl version.




Valter G. Nogueira Jr. wrote:
I am following the book Java Server Pages, 3rd Edition and all samples run in a snap.

But when I try to use EL no my pages it doesn't work. I mean if a write:

${1+2+3}

I got the ${1+2+3} instead of 6


How should I configure tomcat to evaluate expression?

Thanks,

Valter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to