Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: JSP 2 expression language on Tomcat 5

Tim Funk

2003-06-03

Replies:

Does your web.xml use the 2.4 dtd? I think it needs to be.

For example:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
  version="2.4">


-Tim

Mansoor Riaz wrote:
> Hi,
> I've installed Tomcat 5 on a Debian GNU/Linux system
> and while most things seem to be working ok, Tomcat is
> not handling any EL that I put in my JSP pages.
> Rather than changing ${1+1} into 2, the page literally
> shows ${1+1}. I installed the binary version and I'm
> using J2SDK 1.4.1
> EL is supposed to be enabled by default right? But the
> Java code generated by the JSP does not process the
> EL. Has anyone else had this problem or know of a way
> I can fix this?
> Thanks,
> mRiaz


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.