java/nekurak.net-web/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Wed Feb 24 21:48:49 2010 +0100 (2010-02-24)
changeset 38 a2ca6c1804d1
parent 35 93d3fab81ad4
child 40 67d332d48562
permissions -rw-r--r--
Jednoduchý design.
franta-hg@0
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@0
     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">
franta-hg@0
     3
    <session-config>
franta-hg@37
     4
	<session-timeout>30</session-timeout>
franta-hg@0
     5
    </session-config>
franta-hg@0
     6
    <welcome-file-list>
franta-hg@7
     7
	<welcome-file>index.jsp</welcome-file>
franta-hg@7
     8
    </welcome-file-list>
franta-hg@12
     9
    <error-page>
franta-hg@12
    10
	<!-- Stránka nenalezena -->
franta-hg@12
    11
	<error-code>404</error-code>
franta-hg@12
    12
	<location>/WEB-INF/chyby/404.jsp</location>
franta-hg@12
    13
    </error-page>
franta-hg@12
    14
    <error-page>
franta-hg@12
    15
	<!-- Interní chyba serveru -->
franta-hg@12
    16
	<error-code>500</error-code>
franta-hg@12
    17
	<location>/WEB-INF/chyby/500.jsp</location>
franta-hg@12
    18
    </error-page>
franta-hg@33
    19
    <context-param>
franta-hg@35
    20
	<!-- Pro případ, že chybí hlavička „Accept-language“ v HTTP požadavku -->
franta-hg@33
    21
	<param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
franta-hg@33
    22
	<param-value>cs</param-value>
franta-hg@33
    23
    </context-param>
franta-hg@7
    24
</web-app>