I have a valid JSP page using EL syntax. But the EL Syntax validator flags it as a problem.
Here is an isolated example. It seems to be flaggin map access operators as exceptions.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>My JSP 'MyJsp.jsp' starting page</title>
</head>
<body>
This is my JSP page. <br>
This should be some valid EL
<br>
This passes validation
<br>
${'This is a string literal in EL'}
<br>
Here we extract the host property from the header. Jsp editor tells me this
is an el syntax error but it's not.
<br>
${header['host']}
<br>
Maybe it will work with double quotes
<br>
${header["host"]}
<br>
Nope it doesn't
<br>
</body>
</html>
*** Date: Fri Sep 01 11:35:11 EDT 2006
*** System properties:
OS=mac os x
OS version=10.4.7
Java version=1.5.0_06
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.0 GA
Build id: 20060805-5.0-GA
*** Eclipse details:
Eclipse SDK
Version: 3.2.0
Build id: M20060629-1905
Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816
Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905
Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905
Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905
Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m------6zXJJzJzJq
Build id: M20060629-1905
Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905
Eclipse startup command=-os
macosx
-ws
carbon
-launcher
/Applications/Development/eclipse_myeclipse/Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS/eclipse
-name
Eclipse
-showsplash
600
-exitdata
10000
-keyring
/Users/rwells/.eclipse_keyring
-consoleLog
-showlocation
-vm
/usr/bin/java