Created
November 29, 2012 14:34
-
-
Save bchetty/4169468 to your computer and use it in GitHub Desktop.
Web.xml for JSF 1.2, Facelets Web Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
<display-name>JSF12-Facelets-WebApp</display-name> | |
<context-param> | |
<param-name>com.sun.faces.verifyObjects</param-name> | |
<param-value>true</param-value> | |
</context-param> | |
<context-param> | |
<param-name>com.sun.faces.validateXml</param-name> | |
<param-value>true</param-value> | |
</context-param> | |
<context-param> | |
<param-name>javax.faces.DEFAULT_SUFFIX</param-name> | |
<param-value>.xhtml</param-value> | |
</context-param> | |
<context-param> | |
<param-name>facelets.DEVELOPMENT</param-name> | |
<param-value>false</param-value> | |
</context-param> | |
<context-param> | |
<param-name>facelets.SKIP_COMMENTS</param-name> | |
<param-value>true</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>*.bc</url-pattern> | |
</servlet-mapping> | |
<session-config> | |
<session-timeout> | |
30 | |
</session-timeout> | |
</session-config> | |
<welcome-file-list> | |
<welcome-file>index.jsp</welcome-file> | |
</welcome-file-list> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment