Thanks!

Ok, the filter is used now, as I can see in the debugger. However, the
text in the form bean still is wrong. :(

I don't know what I'm missing...

I know that when using WebSphere you can set
client-encoding-override=utf-8, I guess this filter does the same,
right?

Is there more I have to do?


-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Date: Freitag, 25. Februar 2005 22:58
 
All you need to do is configure the Filter - it "wraps" the response in
a
UTF8EncodingServletResponse for you. Filters were introduced in the
Servlet
2.3 specification and you configure it in your web.xml. First identify
the
filter, then map the url pattern for the requests you want it to handle.

 <filter>
    <filter-name>UTF8 Filter</filter-name>
    <filter-class>somepackage.UTF8EncodingFilter</filter-name>
 </filter>

 <filter-mapping>
    <filter-name>UTF8 Filter</filter-name>
    <url-pattern>*.do</url-pattern>
 </filter-mapping>

Niall




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to