New EL syntax for calling functions in Tomcat 7.

I don’t have the time to dig deeper into this. Someone checked in a code that had this syntax <c:forEach items=”${myMap.entrySet()}”> . That code kept giving “The function entrySet must be used with a prefix when a default namespace is not specified” which is expected because the standard syntax is to use the prefix “fn:” . This seems to be a new JavaEE6 feature as it is working fine in Dev server that is running Tomcat 7. It is failing in my local on Tomcat 6. Interesting discovery.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: