Skip to content

Instantly share code, notes, and snippets.

@justinwyer
Created July 8, 2012 12:41
Show Gist options
  • Save justinwyer/3070798 to your computer and use it in GitHub Desktop.
Save justinwyer/3070798 to your computer and use it in GitHub Desktop.
Java EE 6 Web Profile without the app server. Part 3.
<dependency>
<groupid>com.sun.faces</groupid>
<artifactid>jsf-api</artifactid>
<version>2.1.7</version>
</dependency>
<dependency>
<groupid>com.sun.faces</groupid>
<artifactid>jsf-impl</artifactid>
<version>2.1.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupid>javax.servlet</groupid>
<artifactid>jstl</artifactid>
<version>1.2</version>
</dependency>
<dependency>
<groupid>org.glassfish.web</groupid>
<artifactid>el-impl</artifactid>
<version>2.2</version>
<scope>runtime</scope>
</dependency>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name><param-value>com.sun.el.ExpressionFactoryImpl</param-value></context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>faces/*</url-pattern>
</servlet-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment