java/sql-vyuka/web/WEB-INF/web.xml
changeset 74 48066e753dd6
parent 32 de496b29191b
child 86 a51bbc91a4cb
     1.1 --- a/java/sql-vyuka/web/WEB-INF/web.xml	Mon Jun 01 00:35:00 2009 +0200
     1.2 +++ b/java/sql-vyuka/web/WEB-INF/web.xml	Wed Jan 27 21:24:33 2010 +0100
     1.3 @@ -8,4 +8,12 @@
     1.4      <welcome-file-list>
     1.5          <welcome-file>index.jsp</welcome-file>
     1.6      </welcome-file-list>
     1.7 +    <error-page>
     1.8 +        <error-code>404</error-code>
     1.9 +        <location>/WEB-INF/chyby/404.jsp</location>
    1.10 +    </error-page>
    1.11 +    <error-page>
    1.12 +        <error-code>500</error-code>
    1.13 +        <location>/WEB-INF/chyby/500.jsp</location>
    1.14 +    </error-page>
    1.15  </web-app>