• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ELIgnored

 
Charith Indika Fernando
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

if i dont specify anywhere abt ELIgnored... will it be ignored... i basically ignored the tag and the attribute in the page directive. and my EL statements were ignored...
 
Paul Croarkin
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EL support depends on your container and the version of the servlet spec that it implements. For example, Weblogic 8.1 will not recognize pure EL. However, it will recognize most EL if it is wrapped within a JSTL tag.

Example:

will not be recognized,
but works

Weblogic 8.1 implements the Servlet 2.3 spec. The SCWCD exam covers the 2.4 spec. You will need to find out what version of the spec your app server implements.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EL is enabled by default. If you are using tomcat use 5.x version's which supports JSP 2.0 spec which includes EL. Even with these things sometimes EL may not recognised by the container. Try

<%@ page isELIgnored="false" %> in your JSP Page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic