File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tomcat not understanding EL... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tomcat not understanding EL..." Watch "Tomcat not understanding EL..." New topic
Author

Tomcat not understanding EL...

shri mon
Ranch Hand

Joined: Jan 11, 2005
Posts: 63
I am using Apache Tomcat/4.0.4


When i give ${param.name} in the jsp the output is ${param.name} itself.
It is not printing the value


Thanks in advance,
Shrimon.
J Johny Rufus
Ranch Hand

Joined: Oct 29, 2003
Posts: 47
Hi Shrimon,

EL is an addition in JSP 2.0 specification and Tomcat 5.0 is the one that follows the JSP 2.0 spec.
Tomcat versions < 5 follow jsp 1.2 spec .

So to enable EL processing you can use Tomcat 5.0

Thanks and Regards,
Rufus
shri mon
Ranch Hand

Joined: Jan 11, 2005
Posts: 63
Thanks,
Rufus
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

I don't think Apache Tomcat/4.0.4 support the EL. Either you have ti install some external library from Jakarta project or better you shift to Tomcat 5.0.X which supports Servlet 2.4 and JSP 2.0.

The EL is included in the JSP spec from version 2.0 prior it was a part of JSTL libraries.

Hope it help you

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
shri mon
Ranch Hand

Joined: Jan 11, 2005
Posts: 63
Thanks Narendra
 
wood burning stoves
 
subject: Tomcat not understanding EL...
 
Similar Threads
ServletException: KGBInternet
jsp:param usage
Request Parameters in EL
jsp:param usage
EL Implicit object paramValues