Advertisement
Javi

Configuración básica jsf mojarra (web.xml)

Jan 25th, 2013
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
  3.   <welcome-file-list>
  4.     <welcome-file>index.html</welcome-file>
  5.     <welcome-file>index.xhtml</welcome-file>
  6.   </welcome-file-list>
  7.   <context-param>
  8.     <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  9.     <param-value>client</param-value>
  10.   </context-param>
  11.   <context-param>
  12.     <param-name>javax.faces.PROJECT_STAGE</param-name>
  13.     <param-value>Development</param-value>
  14.   </context-param>
  15.   <listener>
  16.       <listener-class>
  17.           com.sun.faces.config.ConfigureListener
  18.       </listener-class>
  19.   </listener>
  20.  
  21.  
  22.   <servlet>
  23.     <servlet-name>Faces Servlet</servlet-name>
  24.     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  25.   </servlet>
  26.   <servlet-mapping>
  27.     <servlet-name>Faces Servlet</servlet-name>
  28.     <url-pattern>*.xhtml</url-pattern>
  29.   </servlet-mapping>
  30. </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement