Whats the difference between "${foo.bar}" and "#{foo.bar}"?
el, java, jsp, jstl
Solution
`#{foo.bar}` syntax is from the JSF expression language. Some bright spark thought it would be a good idea to use a different syntax to JSP EL (i.e. `${foo.bar}`). I think some JSP containers are tolerant of this cockup, and let you use either one.
Problem
I can use objects from my Java Beans within .jsp files by using the Expression Language (EL). Therefore I can get my value by typing ${foo.bar}. But I can also use #{foo.bar}. Can anybody explain the difference or provide a link with meaningful information?