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} bar 
${param["foo"]} bar 
${header["host"]} www.chatnoir.co.jp 
${header["accept"]} text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 
${header["user-agent"]} CCBot/1.0 (+http://www.commoncrawl.org/bot.html)