web/WEB-INF/web.xml

Sun, 26 Nov 2017 16:51:57 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 26 Nov 2017 16:51:57 +0100
changeset 5
131903fc16b8
parent 1
34241be7db73
child 6
da61a1646eba
permissions
-rw-r--r--

moves psql DB setup script to another file (we want to support other engines later) + adds some missing statements to that file

<?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