The getValid function should be used with a prefix if no default namespace is specified
This error message is typical if you are not already using / starting a container that supports servlet 3.0, such as Tomcat 7, Glassfish 3, etc. Calling arbitrary methods in EL is not supported until Servlet 3.0.
, Servlet 3.0, .
<c:if test="${user.valid == 0}">
${view.printUserData(user)} -. EL.
<c:out value="${f:printUserData(view, user)}">
public static String printUserData(View view, Validation validation) {
return view.printUserData(validation);
}