• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Handling of Expression Languauage

 
Aleena Rehman
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the HFSJ, it is mentioned that the Expression Language is by default ON. Means if you want to get it ignored, you have to specifically mention it. However in Tomcat5.5, if i use the EL expressions in JSP they are not automatically evaluated, unless i use the directive isELIgnored ?

Please let me know, what the spec says about this ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're probavly using version 2.3 of web.xml. Check out the version. It should be like the following :
http://faq.javaranch.com/view?ServletsWebXml
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used tomcat and I did not have this problem. Initially I had to use the isElIgnored attribute in the page directive to get it to recognize EL. But after I did that it began recognizing EL without any trouble, even without the isElIgnored attribute. I dont know why that happened either.
 
Aleena Rehman
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Satou kurinosuke:
You're probavly using version 2.3 of web.xml. Check out the version. It should be like the following :
http://faq.javaranch.com/view?ServletsWebXml


Thanks a lot for your help....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic