web/WEB-INF/web.xml

Sun, 29 Oct 2017 13:35:43 +0100

author
mike@uapl02
date
Sun, 29 Oct 2017 13:35:43 +0100
changeset 3
acf54d3fa1d1
parent 1
34241be7db73
child 6
da61a1646eba
permissions
-rw-r--r--

switched to tomcat 8.5 (should be developed this way for maximum compatibility)

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
    <servlet>
        <servlet-name>HomeServlet</servlet-name>
        <servlet-class>de.uapcore.lightpit.HomeServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>HomeServlet</servlet-name>
        <url-pattern>/</url-pattern>
        <url-pattern>/home</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
</web-app>

mercurial