The problem with your code is that the local code runs on Tomcat 7, and the code runs on the server on Tomcat 6.
As soon as calling methods with parameters (those () ) is a feature of EL 2.2 (and above), and it is accompanied by containers compatible with Servlet 3.0 (thus Tomcat 7), your code runs normally locally.
As soon as this code runs on the Servlet 2.5 container (thus Tomcat 6), you get the indicated error.
However, "property-like" access (without () ) is supported by both servlet containers.
source share