JSP 2.0 Expression Language - Implicit Objects


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

EL Expression Result
${param.foo} bar 
${param["foo"]} bar 
${header["host"]} esda.dbspd.edu.hk 
${header["accept"]} text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
${header["user-agent"]} CCBot/2.0 (https://commoncrawl.org/faq/)