This is my web.xml. Still does not work

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
        http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
        id="media-server" version="2.5">

        <display-name>media-server</display-name>

        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>classpath:applicationContext.xml</param-value>
        </context-param>
        <context-param>
                <param-name>log4jConfigLocation</param-name>
                <param-value>classpath:log4j.xml</param-value>
        </context-param>
        <context-param>
                <param-name>configuration</param-name>
                <param-value>development</param-value>
        </context-param>

        <context-param>
                <param-name>webAppRootKey</param-name>
                <param-value>media-server</param-value>
        </context-param>
        <filter>
                <filter-name>encodingFilter</filter-name>
        
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
                <init-param>
                        <param-name>encoding</param-name>
                        <param-value>UTF-8</param-value>
                </init-param>
                <init-param>
                        <param-name>forceEncoding</param-name>
                        <param-value>true</param-value>
                </init-param>
        </filter>
        <filter>
                <filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
                <filter-class>
                
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
        </filter>

        <filter-mapping>
                <filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter-mapping>
                <filter-name>encodingFilter</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter>
                <filter-name>wicket.media</filter-name>
                
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
                <init-param>
                        <param-name>applicationClassName</param-name>
                
<param-value>se.fototext.media.server.web.application.MediaApplication</param-value>
                </init-param>
        </filter>

        <filter-mapping>
                <filter-name>wicket.media</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
        <listener>
        
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
        </listener>
        <servlet>
                <servlet-name>CXFServlet</servlet-name>
                
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>CXFServlet</servlet-name>
                <url-pattern>/services/*</url-pattern>
        </servlet-mapping>
</web-app>


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3907026.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to