Originally posted by Bear Bibeault:
Something must be very odd with your setup. Whose JSTL 1.1 are you using?
jars came out of jwsdp-1.4 release from Sun. I couldn't find the 1.1 jstl release by itself anywhere.
And what exactly happens when you use Servlet 2.4 with the JSTL 1.1 uri of http://java.sun.com/jsp/jstl/core?
ok, here's my tests:
1) servlet 2.2, using EL 3+4=${3+4}, no jstl tag spec on page -- The EL phrase is not evaluated, but printed as a literal.
2) servlet 2.4, using EL 3+4=${3+4}, no jstl tag spec on page -- The EL phrase is not evaluated, but printed as a literal.
3) servlet 2.4, using EL 3+4=${3+4}, jstl tag 1.1 spec on page -- EL phrase is evaluated.
4) servlet 2.4, using EL in jstl <c

ut> tag, jstl tag 1.1 spec on page -- get the following error.
According to TLD or attribute directive in tag file, attribute value does not accept any expressions
which says to me the core tag is not defined for use with EL...
Then I noticed my URI is different than yours
mine: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
yours: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
result: everything is coexistent peace and harmony
Do you have any TLD defs in your web.xml, or are you letting Tomcat auto-discover the TLDs?
Yes, currently the
Struts tld's and 2 custom ones are defined in web.xml as follows. Please advise if this should be different.
It works like a champ for me:
Tomact 5.0.25 or 5.0.28
web.xml: servlet 2.4
c tld uri: http://java.sun.com/jsp/jstl/core
The only thing different going on is I'm using JBoss 3.2.5, which uses one of the Tomcat 5.0x releases... so I wouldn't think things would really be any different...
Thanks for helping me work this out.