Popular Articles

During the terrific silence of that horrible night, they could not hear the footsteps of death. On the eighteenth night of a great war, they were sleeping
Beauty of Kashmir is breathtaking and thus this valley is rightly described as paradise on earth. Carpets of saffron resembling lotus petals are spread
Located in culturally important Bhavnagar district of Gujarat, Alang today is known worldwide for ship dismantling. It is world's largest ship dismantling

Latest Articles

Beauty of Kashmir is breathtaking and thus this valley is rightly described as paradise on earth. Carpets of saffron resembling lotus petals are spread
Located in culturally important Bhavnagar district of Gujarat, Alang today is known worldwide for ship dismantling. It is world's largest ship dismantling
Our ancestors discovered the technique of cooking food. Earlier they used to consume food in its original state i,e., in its raw form, regardless of whether
The JavaServer Faces technology was introduced after the Expression Language for Java Server Pages technology has been developed. The JavaServer Faces technology required more powerful language which should do the tasks which cannot be done by the JSPs' Unified Expression Language. Below are some of the issues in using the JSP Expression Language.
  1. The JavaServer Faces is a component model. Components are event driven and the events generated by the components are handled by the JSF framework in various phases, unlike the JSP expression which will be evaluated immediately. This is called post-back of events. At different levels, different events will get executed like Validations, Conversions etc., which are become major limitations in using the JSP expression language.
  2. The immediate evaluation will be done on static objects where as the JSF components require the get and set operations on the data objects stored on the server side beans.
  3. The JSF components are much powerful which require direct execution of methods on the Managed Beans. Also they need to get the data during the render phase and set the data in the beans during post-back.
  4. Another problem they sought is registering of the various events with their methods on the server side objects which will be executed during various phases.

In ordered to overcome the above limitations, they have developed a new expression language for JavaServer Faces technology which can evaluate expressions at different phases of the application, which can get and set the data on server side objects, which can invoke the methods on the server side objects.

The expressions in EL shall be written by enclosing the expression in between "#{" and "}" literals.

e.g.