I was trying to enable EL 2.2 on tomcat 6.0.41 on windows 7.
I read this: http://wiki.apache.org/myfaces/HowToEnableEl22
and this: JSF - call method with parameter (tomcat6)
and also this: Can EL 2.2 capable JSF web applications be deployed to shared Tomcat 6 hosting environment?
and tried to follow them all but with no luck, I still get the following error:
org.apache.jasper.JasperException: /DashBoard.jsp(234,7) The function setSelectedExperiment must be used with a prefix when a default namespace is not specified
on this line of code:
action="#{dashBoardController.setSelectedExperiment(experiment)}"
I did the following: downloaded the el jars from here: http://download.java.net/maven/2/javax/el/el-api/2.2/el-api-2.2.jar
http://download.java.net/maven/2/org/glassfish/web/el-impl/2.2/el-impl-2.2.jar
and put them under WEB-INF/lib
I removed el-api.jar from tomcat6/lib
i added this to web.xml:
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
all according to the guidelines in apache wiki
Yet, as I said, I get the error above.