• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat not understanding EL...

 
shri mon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
Rufus
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
shri mon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Narendra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic