Skip to content

Instantly share code, notes, and snippets.

@rponte
Last active November 5, 2015 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rponte/1378082 to your computer and use it in GitHub Desktop.
Save rponte/1378082 to your computer and use it in GitHub Desktop.
configuring jsf 2.0 on tomcat 6.x (with support to EL method parameters)
CAUTION: Method parameters will not work on Tomcat 6 with just the JSF
JAR files. The expression language (EL) is not a part of JSF but instead
defined in JSR 245 (JavaServer Pages). Method parameters are a feature of
EL 2.2, which is not supported by Tomcat 6. In order to use the EL 2.2 features,
obtain the JARs from http://uel.dev.java.net, add them to the WEB-INF/
lib directory of your web application, and add the following to your web.xml file:
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment