cours0708/P51/apache-tomcat-6.0.14/webapps/ecommerce/WEB-INF/web.xml
2008-11-25 22:11:16 +01:00

61 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>false</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.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<servlet>
<servlet-name>PanierServlet</servlet-name>
<servlet-class>com.servlets.PanierServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PanierServlet</servlet-name>
<url-pattern>/Panier</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ArticlesServlet</servlet-name>
<servlet-class>com.servlets.ArticlesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ArticlesServlet</servlet-name>
<url-pattern>/Articles</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ClientServlet</servlet-name>
<servlet-class>com.servlets.ClientServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ClientServlet</servlet-name>
<url-pattern>/Client</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>
<jsp-config>
<jsp-property-group>
<description>Toutes les pages</description>
<url-pattern>*.jsp</url-pattern>
<page-encoding>UTF-8</page-encoding>
<include-prelude>/includes/entete.jsp</include-prelude>
<include-coda>/includes/enqueue.jsp</include-coda>
</jsp-property-group>
</jsp-config>
</web-app>