OGNL is the expression language used with the Struts custom tags. However, there are cases whereby the JSP Expression Language (EL) can help. For example, the JSP EL provides shorter syntax for printing a model object than what the property tag and OGNL offer. With the JSP EL, instead of this
You can simply write this.
In addition, there’s no easy way to use Struts custom tags to print a request header. With EL, it’s easy. For instance, the following EL expression prints the value of the host header:
This appendix is a tutorial on the JSP EL.