web.xml: přechod na web-app 3.0 a přesun deklarace překladů do web.xml.
authorFrantišek Kučera <franta-hg@frantovo.cz>
Wed Jan 26 02:24:34 2011 +0100 (2011-01-26)
changeset 178afee4e663992
parent 177 d874e9e3e162
child 179 2ed9f3231a28
web.xml: přechod na web-app 3.0 a přesun deklarace překladů do web.xml.
http://java.sun.com/xml/ns/javaee/
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd
java/nekurak.net-web/web/WEB-INF/web.xml
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/web.xml	Tue Jan 25 22:03:46 2011 +0100
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/web.xml	Wed Jan 26 02:24:34 2011 +0100
     1.3 @@ -1,5 +1,5 @@
     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 +<web-app version="3.0" 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_3_0.xsd">
     1.7      <session-config>
     1.8          <session-timeout>30</session-timeout>
     1.9      </session-config>
    1.10 @@ -24,7 +24,7 @@
    1.11      <!-- <definiceServletů> -->
    1.12      <servlet>
    1.13          <servlet-name>podnik</servlet-name>
    1.14 -        <servlet-class>cz.frantovo.nekurak.servlet.Podnik</servlet-class>
    1.15 +        <servlet-class>cz.frantovo.nekurak.servlet.PodnikServlet</servlet-class>
    1.16      </servlet>
    1.17      <servlet>
    1.18          <servlet-name>atom</servlet-name>
    1.19 @@ -95,6 +95,10 @@
    1.20          <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
    1.21          <param-value>cs</param-value>
    1.22      </context-param>
    1.23 +    <context-param>
    1.24 +        <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
    1.25 +        <param-value>cz.frantovo.nekurak.preklady</param-value>
    1.26 +    </context-param>
    1.27      <!--  <zabezpečení> -->
    1.28      <security-role>
    1.29          <role-name>opravneny</role-name>