-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Stephen,

On 11/7/14 2:51 PM, Stephen McCants wrote:
> I'm seeing a strange problem where isELIgnored has the wrong
> default value for a new Tomcat install of 5.0.56.

That version number is certainly wrong.
Highest 5.0 version is 5.0.30
Highest 5.5 version is 5.5.36

Hopefully, you meant Tomcat 7.0.56 which is the most current release
of Tomcat 7.0.

> I'm moving a Web Application on Windows 7 to Windows 2008 and that 
> caused the EL expressions to stop being evaluated on the new
> install..
> 
> Problem is only seen on Windows Server 2008 with Tomcat 7.0.56,
> while it works correctly on Tomcat 7.0.37 (Windows 7) and 7.0.42
> (Linux).  The web application is the same on all three servers.
> 
> Our web.xml file specifies:
> 
> <web-app xmlns="http://java.sun.com/xml/ns/javaee"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5">
> 
> So, I believe the correct behavior with 2.5 is that EL expressions 
> should be evaluated.

Note that the various EGs have made it clear that in many cases, your
descriptor's version number is irrelevant: the server will provide the
behavior of the most-recent version of the spec that the server
supports. (The Servlet EG and I differ on whether this is appropriate.)

> I worked around the problem by adding the following to the JSP
> files:
> 
> <%@ page isELIgnored="false" %>
> 
> However, I'd like to understand where the configuration error is 
> occurring as from my perspective nothing changed except OS and
> Tomcat version.  My own efforts have turned up nothing helpful or 
> illuminating.
> 
> Where should I be looking in the configurations for a difference?
> What differences would come into play?

What is your tag library declaration in your JSP file? That's probably
the most important thing, here. Are you supplying your own version of
JSTL, EL, etc. along with your web application?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUXSfpAAoJEBzwKT+lPKRYeYkQAIPj3B0y2So1wFFE+6qWnpe1
Snf0seQid1yKY/akbvW7glRzN4oE0lBzgU+81psL6GUuFjkHK+1Jc7Am14ze6xSq
5+lPZTG+5OBDPasBlA/VU70fT+VAtqYF0zd6EcpMe+6APYbc+CTkufKn4i0636I8
kTq0j5eGXnLrAviDiGKsZM3Mc781ErOElMKqSsQfcEQeT71gojzwMqyfzPx3yMxW
umgwmWzlp8MgETtLNVKA1WlzDpJ19b9QpcXUgkmbR0XAZk7wIHSQKclrtu4mrMWp
d1MkSEJ1Y6AwYgCI7aZfH53t8LobR9CEwA+Thoy6+WQxxE3dSmod0yt+XpFkA8Dv
GRgcsyI7DYCHIYdW92TOrkNymBUu27LiVbVZNa1T1Z2xzooaxXEuSKNR8Ga5vnzc
oepotIsxSJs3I54KC/Md3WgO4IhWZevFL5bkQKmneNDLO7F5u/VpxlBiAGBjh3y4
0/L0pKp1McvvLjR9l9gyV61W80gI884cQEfi1dWKNb504sfziCA9UA/gOPBp5PmS
Y69C1PBdTV4t/FzAvCelGXjcn0q1qa2nx+Hfyup0nGeL4yRtNMCmq/BovnzHVTpC
9FDVlh8W10edEGsHlaqtamP1j9EsyrkI5W4vNxm2dR6yc2oFCl+vJQDUrALJpTc7
3dp2wj50XFmW44gJNPoK
=3X10
-----END PGP SIGNATURE-----

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

Reply via email to