• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt related to EL

 
Prasad Joglekar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.
By default, EL is enabled in JSP 2. This means that an EL expression in my JSP should evaluate just fine without mentioning anything anywhere in the DD or directives.

My problem is it doesn't seem to work that way. I'm using Eclipse with Lomboz plugin and Tomcat 5.5. The stuff works OK when I explicitly enable EL using the isELIgnored directive.
Any takes on this?

Thanks in advance and regards,
Prasad
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try including jstl.jar and standard.jar in /WEB-INF/lib directory.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Eclipse with Tomcat 5.5.9. It is working fine for me.

I didn't include any of the above said jar files and EL is working fine for me.

Check your web.xml. You might be sending the request directly to JSP without passing through Servlet and trying to access an attribute thats set in Servlet. Because I did this mistake.
[ October 05, 2005: Message edited by: vishnu prakash ]
 
Mat Williams
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
have a look at the web.xml file for the web app and see what version of the spec it refers to. If it refers to version 2.3 then thats the problem change it to 2.4 and it should then work.

Mat
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!