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"]} 186.193.231.106:3033 
${header["accept"]} */* 
${header["user-agent"]} Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)