tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Röckelein <wolfgang.roeckel...@wiwi.uni-regensburg.de>
Subject Re: EL not being evaluated?
Date Thu, 05 Feb 2004 19:49:18 GMT
David Wall wrote:
> I've installed JDK 1.4.2_03, Tomcat 5.0.18 and Apache's JSTL 1.1 on RH Linux
> 9.
> 
> My XHTML JSP contains a simple construct:   <p>1 + 2 + 3 = <c:out
> value="${1+2+3}"/></p>
> 
> But the expression is not being evaluated, yet the c:out tag is being
> processed fine.  The output just looks like:
> 
> 1 + 2 + 3 = ${1+2+3}
> 
> Is there a trick to getting the expressions configured to work with Tomcat
> 5?

I think you need to indicate in the web.xml that this is a jsp version 2 web 
application, otherwise the container assumes the web application is written for 
an old jsp version where not the container but the taglib does the EL evaluation 
(you would need the 1.0.5 taglib version for this).

Regards,
   wolfgang


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message