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"]} epg-image.zdf.de 
${header["accept"]} text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
${header["user-agent"]} Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)