Jednoduchý design.
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">
4 <session-timeout>30</session-timeout>
7 <welcome-file>index.jsp</welcome-file>
10 <!-- Stránka nenalezena -->
11 <error-code>404</error-code>
12 <location>/WEB-INF/chyby/404.jsp</location>
15 <!-- Interní chyba serveru -->
16 <error-code>500</error-code>
17 <location>/WEB-INF/chyby/500.jsp</location>
20 <!-- Pro případ, že chybí hlavička „Accept-language“ v HTTP požadavku -->
21 <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
22 <param-value>cs</param-value>