I have a web application which was developed under tomcat 7, and we use some EL expression of version 2.2.
However, when we changed this under JBoss 5.0.1GA, it doesn't work.
The code was like this, using EL 2.2:
${user.isPermitted("permitStr")}
and JBoss throws exception like this:
严重: Servlet.service() for servlet XXXX threw exception
org.apache.jasper.JasperException: /WEB-INF/YYYY/zzz/www/list.jsp(184,21) The function isPermitted must be used with a prefix when a default namespace is not specified
So how could I do to make JBoss 5.0.1 GA support el 2.2?