web.xml 995 Bytes
Newer Older
1 2 3 4 5 6
<?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>PersonaServlet</servlet-name>
        <servlet-class>demojsoncrud.servlets.PersonaServlet</servlet-class>
    </servlet>
7 8 9 10
    <servlet>
        <servlet-name>UbigeoServlet</servlet-name>
        <servlet-class>demojsoncrud.servlets.UbigeoServlet</servlet-class>
    </servlet>
11 12 13 14
    <servlet-mapping>
        <servlet-name>PersonaServlet</servlet-name>
        <url-pattern>/PersonaServlet</url-pattern>
    </servlet-mapping>
15 16 17 18
    <servlet-mapping>
        <servlet-name>UbigeoServlet</servlet-name>
        <url-pattern>/UbigeoServlet</url-pattern>
    </servlet-mapping>
19 20 21 22 23 24
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
</web-app>