<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> JSP 2.0 Expression Language - Implicit Objects

JSP 2.0 Expression Language - Implicit Objects


This example illustrates some of the implicit objects available in the Expression Lanaguage. The following implicit objects are available (not all illustrated here):
Change Parameter
foo =

EL Expression Result
\${param.foo} ${fn:escapeXml(param["foo"])} 
\${param["foo"]} ${fn:escapeXml(param["foo"])} 
\${header["host"]} ${fn:escapeXml(header["host"])} 
\${header["accept"]} ${fn:escapeXml(header["accept"])} 
\${header["user-agent"]} ${fn:escapeXml(header["user-agent"])}