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"]} ssomslib.nahdi.sa 
${header["accept"]} text/html, application/rss+xml, application/atom+xml, text/xml, text/rss+xml, application/xhtml+xml 
${header["user-agent"]} Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)