package ste.filters;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
/**
* UTF8 request filter.
*
I was using action forms also
I was changing file.encoding in System properties
The problem is in the request, i am sure,
what OS are you using?
WIN32(use Cp(i don't remember exactly whait is) in file.encoding
and it work ok) or UNIX(using ISO_8859_1 and UTF-8 work ok also)
If you can't
Tue, 19 Oct 2004 13:39:11 +0200,
Václavík Radek <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Try setting request character encoding to UTF-8. I've had the same problem
> and solved it by extending ActionServlet to e.g. MyActionServlet (of course
> you have to rewrite this in struts-config.xlm, too) and
Another solution is to implement a Filter that does
request.setCharacterEncoding("UTF-8");
Dima.
VR> Hi,
VR> Try setting request character encoding to UTF-8. I've had the same problem
VR> and solved it by extending ActionServlet to e.g. MyActionServlet (of course
VR> you have to rewrite th
I had the same problem, and I get to correct this using a filter
I was testing with request.setCharacterEncoding("UTF-8");
also but :(
And with the filter all works ok now
Luck
Luis Gervaso from Spain
On Tue, 19 Oct 2004 13:39:11 +0200, Václavík Radek
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> T
Hi,
Try setting request character encoding to UTF-8. I've had the same problem
and solved it by extending ActionServlet to e.g. MyActionServlet (of course
you have to rewrite this in struts-config.xlm, too) and inserted this as the
first line of that servlet:
request.setCharacterEncoding("UTF-8")
6 matches
Mail list logo