root/java/sql-vyuka/web/WEB-INF/web.xml @ 74:48066e753dd6

Revision 74:48066e753dd6, 0.7 KB (checked in by František Kučera <franta-hg@…>, 14 years ago)

Vlastní (stručné) chybové hlášky (404 a 500), IP adresa pro reverzní proxy (provizorně).

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<web-app version="2.5" 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">
3    <session-config>
4        <session-timeout>
5            60
6        </session-timeout>
7    </session-config>
8    <welcome-file-list>
9        <welcome-file>index.jsp</welcome-file>
10    </welcome-file-list>
11    <error-page>
12        <error-code>404</error-code>
13        <location>/WEB-INF/chyby/404.jsp</location>
14    </error-page>
15    <error-page>
16        <error-code>500</error-code>
17        <location>/WEB-INF/chyby/500.jsp</location>
18    </error-page>
19</web-app>
Note: See TracBrowser for help on using the browser.