jsf - Implementing EL 2.2 on tomcat 6 -
i trying 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 parameter (tomcat6)
and this: can el 2.2 capable jsf web applications deployed shared tomcat 6 hosting environment?
and tried follow them no luck, still following error:
org.apache.jasper.jasperexception: /dashboard.jsp(234,7) function setselectedexperiment must used prefix when default namespace not specified
on line of code:
action="#{dashboardcontroller.setselectedexperiment(experiment)}"
i did following: downloaded el jars 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 tomcat6/lib
i added web.xml:
<context-param> <param-name>com.sun.faces.expressionfactory</param-name> <param-value>com.sun.el.expressionfactoryimpl</param-value> </context-param>
all according guidelines in apache wiki
yet, said, error above.
Comments
Post a Comment