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}  
${param["foo"]}  
${header["host"]} bearcats.nz 
${header["accept"]} text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
${header["user-agent"]} Mozilla/5.0 (compatible; NLNZ_IAHarvester2018/3.3.0 +https://natlib.govt.nz/publishers-and-authors/web-harvesting/domain-harvest)