• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL use  RSS feed

 
Brad Ward
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running Tomcat 5.0. I want to use the expression language in my JSP files. I see that commons EL .jar file appears to come with the Tomcat distribution, but any ${...} things I try seem to be ignored. What am I missing here?
Specifically:
1. Do I have to do anything to configure Tomcat to use Commons EL?
2. What is a nice simple little "hello world" type use of EL that I can try to see if it is working correctly?
Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66154
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to declare your web.xml to be a Servlet 2.4 web app descriptor for the EL to be activated.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!