tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: isELIgnored default is wrong
Date Sat, 08 Nov 2014 14:08:46 GMT
>> 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?

+1. There have been several user reports when Apache Maven packed
conflicting API implementation jars into a war file. I do not remember
it resulting in such symptoms, but things were going awry for those

I would suggest trying the following:

1) Add logEffectiveWebXml="true" to your Context and see how that
web.xml is actually interpreted by Tomcat (considering all web
fragments and annotations)

2) Run in "strict servlet compliance" mode. That will enable
validation of your web.xml against schema.

3) Are there any errors, warnings in the log files?

If that does not help, then maybe
a) inspect the java code generated for your JSPs

b) run with a debugger

c) try with 7.0.42 on Windows, and then with intermediate versions up
to 7.0.56 to see when the problem appeared.

d) test with 7.0.57 (a release candidate is currently in the voting
process on dev@)

e) simplify your web application until you have a reproducible test
case that you can show others

The examples webapp has EL on its pages and those are certainly working.

f) update you web.xml to version 3.0 and configure it to avoid
annotation scanning

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message