70 lines
2.2 KiB
XML
70 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2004 The Apache Software Foundation
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<web-app 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"
|
|
version="2.4">
|
|
|
|
<display-name>Bienvenue sur I comme Herse</display-name>
|
|
<description>Boutique de vente par correspondance</description>
|
|
|
|
<!--
|
|
<context-param>
|
|
<param-name>javax.servlet.jsp.jstl.sql.dataSource</param-name>
|
|
<param-value>jdbc/data</param-value>
|
|
</context-param>
|
|
-->
|
|
|
|
<servlet>
|
|
<servlet-name>boutique</servlet-name>
|
|
<servlet-class>ServletController</servlet-class>
|
|
<display-name>Controleur de servlets</display-name>
|
|
<description>Ma premiere servlet</description>
|
|
</servlet>
|
|
<!--
|
|
<servlet-mapping>
|
|
<servlet-name>boutique</servlet-name>
|
|
<url-pattern>*.agi</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<servlet-name>boutique</servlet-name>
|
|
<url-pattern>*.agix</url-pattern>
|
|
</servlet-mapping>
|
|
-->
|
|
<servlet-mapping>
|
|
<servlet-name>boutique</servlet-name>
|
|
<url-pattern>/connexion</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>boutique</servlet-name>
|
|
<url-pattern>/articles</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<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>
|