Since you're using a JSP 2.0 container, you should be able to just do:

<p>1 + 2 + 3 = ${1+2+3}</p>

Make sure you're using a Servlet 2.4 deployment descriptor.

Quoting David Wall <[EMAIL PROTECTED]>:

> 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?
> 
> Thanks,
> David

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to