Re: EL not being evaluated?

2004-02-06 Thread Kris Schneider
Personally, I'd keep JSTL/Standard in WEB-INF/lib and Xerces/Xalan in endorsed. Unless I needed an app-specific version of the XML libs, in which case I'd need them in WEB-INF/lib. I wouldn't recommend dumping everything in endorsed, or some other directory that a shared classloader can access,

RE: EL not being evaluated?

2004-02-05 Thread Ben Anderson
el has been incorporated into JSP 2.0 which is what Tomcat 5 implements. So, you no longer need the c:out tag. Just do: p1 + 2 + 3 = ${1+2+3}/p Check out Tomcat's default pages to see more cool things you can do with Tomcat 5 (JSP 2.0/Servlet2.4). -Ben From: David Wall [EMAIL PROTECTED]

Re: EL not being evaluated?

2004-02-05 Thread Wolfgang Röckelein
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: p1 + 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 +

Re: EL not being evaluated?

2004-02-05 Thread David Wall
Since you're using a JSP 2.0 container, you should be able to just do: p1 + 2 + 3 = ${1+2+3}/p Make sure you're using a Servlet 2.4 deployment descriptor. That didn't work for me. Perhaps it's your last comment. What does it mean to have a 2.4 deployment descriptor for the JSP page? Maybe

Re: EL not being evaluated?

2004-02-05 Thread David Wall
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).

Re: EL not being evaluated?

2004-02-05 Thread Wolfgang Röckelein
David Wall wrote: 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

Re: EL not being evaluated?

2004-02-05 Thread David Wall
Thanks. The comments below did it for me. However, I still had some JAR file location issues (tomcat's common/endorsed for the webapps WEB-INF/lib). Do most people put the XERCES, XALAN, JSTL/STANDARD jars in the endorsed location or do they just keep it with their webapps? Right now, I seem

Re: EL not being evaluated?

2004-02-05 Thread Kris Schneider
Instead of: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app ... /web-app Use: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;