view webapp/WEB-INF/web.xml @ 20:0bc1e3f788ee

Changed the name of the example page to index.jsp
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 06 Dec 2013 11:50:44 +0000
parents 33d7bd3c0990
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<web-app 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_2_5.xsd"
           version="2.5">
    <servlet>
        <servlet-name>HumanEchoServlet</servlet-name>
        <servlet-class>HumanEchoServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>log4j-init</servlet-name>
      <servlet-class>com.AppName.servlets.Log4jInit</servlet-class>
      <init-param>
        <param-name>log4j-init-file</param-name>
        <param-value>WEB-INF/classes/log4j.properties</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>HumanEchoServlet</servlet-name>
        <url-pattern>/HumanEcho</url-pattern>
    </servlet-mapping>
</web-app>