cours0708/P51/apache-tomcat-6.0.14/webapps/ecommerce/WEB-INF/web.xml~

51 lines
1.8 KiB
XML
Raw Permalink Normal View History

2008-11-25 21:11:16 +00:00
<?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>
</web-app>