java/nekurak.net-web/web/WEB-INF/web.xml
changeset 43 394ec61e99d7
parent 41 2c3451cc396c
child 49 9b2a597cc862
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/web.xml	Thu Feb 25 09:10:01 2010 +0100
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/web.xml	Thu Feb 25 16:01:46 2010 +0100
     1.3 @@ -1,13 +1,13 @@
     1.4  <?xml version="1.0" encoding="UTF-8"?>
     1.5  <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">
     1.6      <session-config>
     1.7 -        <session-timeout>
     1.8 -	    30
     1.9 -	</session-timeout>
    1.10 +        <session-timeout>30</session-timeout>
    1.11      </session-config>
    1.12 +
    1.13      <welcome-file-list>
    1.14          <welcome-file>index.jsp</welcome-file>
    1.15      </welcome-file-list>
    1.16 +
    1.17      <error-page>
    1.18          <!-- Stránka nenalezena -->
    1.19          <error-code>404</error-code>
    1.20 @@ -18,11 +18,13 @@
    1.21          <error-code>500</error-code>
    1.22          <location>/WEB-INF/chyby/500.jsp</location>
    1.23      </error-page>
    1.24 +    
    1.25      <context-param>
    1.26          <!-- Pro případ, že chybí hlavička „Accept-language“ v HTTP požadavku -->
    1.27          <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
    1.28          <param-value>cs</param-value>
    1.29      </context-param>
    1.30 +
    1.31      <!--  <zabezpečení> -->
    1.32      <security-role>
    1.33          <role-name>opravneny</role-name>
    1.34 @@ -45,4 +47,5 @@
    1.35  	</form-login-config>
    1.36      </login-config>
    1.37      <!--  </zabezpečení> -->
    1.38 +
    1.39  </web-app>