1. It has introduced in jsp 2.0 version. The main objective of EL is to eliminate java code from the jsp.
  2. In general we can use EL,JSTL and custom tags for complete elimination of java code from the jsp.

Example:

  1. To print the value of request parameter uname

    Standard :<% = request .get parameter("uname")%>
    EL syntax: ${param.uname}

  2. To print the value of x attribute

    Standard :<% = pageContext.findAttribute("x")%>
    EL syntax: ${x}


Note:

  1. To use any variable i in EL compulsory it should be an attribute in some scope.
    ${i} // prints the value of attribute i.
  2. If there is no such type of attribute then it prints blank space but not null.