Sounds like web.xml is specifying servlet version 2.3 or below. It must be 
2.4 or above.
Otherwise you will have to have  a           

<%@ page  IsELIgnored="false"%> 

tag on every JSP page that wants to us EL.

Ron
 


-----Original Message-----
From: "Lorenzo Carnevale" <lorenzo.carnev...@innovery.it>
To: "Struts" <user@struts.apache.org>
Date: Wed, 17 Dec 2008 14:59:26 +0100
Subject: [OT] EL expressions


I don't understand why my EL expressions aren't being evaluated.
They are printed just like they in the source code ("${param}").

I did put this in my JSP code
Working with server: <%= application.getServerInfo() %><br>
Servlet Specification: <%= application.getMajorVersion() %>.<%= 
application.getMinorVersion() %> <br>
JSP version: <%= 
JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() 
%><br>
Java Version: <%= System.getProperty("java.version") %><br>

that printed out as
Working with server: Apache Tomcat/5.5.27
Servlet Specification: 2.4
JSP version: 2.0
Java Version: 1.5.0_14

The taglib directive seems to be ok  (<%@ taglib 
uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>)
and both standard.jar and jstl.jar are in the Tomcat classpath.

I am banging my head agains the wall 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to