Information

0
Story Points

Technologies

Web XML
  • Web XML
    Web Application Deployment Descriptors

Automatically Translated Files

<?xml version="1.0"?>
<web-app version="3.0" 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_3_0.xsd">
 <context-param>
  <param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP</param-name>
  <param-value>true</param-value>
 </context-param>
 
 <context-param>
  <description>Configuracion para cargar el ApplicationContext y el TastkContet de SpringFramework</description>
  <param-name>contextConfigLocation</param-name>
  <param-value>/WEB-INF/springConfig/**Context.xml</param-value>
 </context-param>
 <!-- Change to "Production" when you are ready to deploy -->
 <context-param>
  <param-name>javax.faces.PROJECT_STAGE</param-name>
  <param-value>Development</param-value>
 </context-param>
 
 <listener>
  <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
 </listener>

 <!-- JSF mapping -->
 <servlet>
  <servlet-name>Faces Servlet</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
 </servlet>
 <!-- Map these files with JSF -->
 <servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
  <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>
 <session-config>
  <session-timeout>20</session-timeout>
 </session-config>
 <!-- <security-constraint> <display-name>Restrict access to XHTML documents</display-name> 
		<web-resource-collection> <web-resource-name>XHTML</web-resource-name> <url-pattern>*.xhtml</url-pattern> 
		</web-resource-collection> <auth-constraint /> </security-constraint> 

	<error-page>
		<exception-type>javax.faces.application.ViewExpiredException</exception-type>
		<location>/viewExpired.jsf</location>
	</error-page>

	<error-page>
		<exception-type>java.lang.Exception</exception-type>
		<location>/error.jsf</location>
	</error-page>
-->
 <error-page>
  <error-code>404</error-code>
  <location>/index.jsf</location>
 </error-page>
</web-app>
Page generated: Oct 19, 2017 2:35:00 PM