-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vincent,
Vincent Lin wrote:
> I solved this problem finally.
That's good, but
> But it still strange that I've traced the struts 2.0.6 source code
> and found that id does change the encoding of HttpServletRequest in
> Dispatcher.java(line 650
Chris,
Thank you.
I solved this problem finally.
I use a CharacterEncodingFilter you mentioned to set character encoding to
UTF-8.
Actually I've tried this filter before, but it didn't work.
The reason why it didn't work is the order of fitler mapping is incorrect in
my web.xml.
This filter must
Vincent,
Vincent Lin wrote:
> I use POST in my form.
:(
You mentioned that MSIE seems to fail, while Mozilla Firefox works. Is
this behavior consistent? Does ff always work? Does MSIE always fail?
Can you check to see what character encoding (in the HTTP headers) is
being sent from the client w
I use POST in my form.
On 6/27/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Vincent,
Vincent Lin wrote:
> I'm having problem to submit Chinese characters from browser to web
server.
GET, POST, or both?
If it's only failing for GET, check to make sure that your app server
knows to expec
Vincent,
Vincent Lin wrote:
> I'm having problem to submit Chinese characters from browser to web server.
GET, POST, or both?
If it's only failing for GET, check to make sure that your app server
knows to expect UTF-8 strings in URLs (in Tomcat, for instance, this is
specified in the element of
debug mode
Emilia
-Original Message-
From: Vincent Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:30 PM
To: Struts Users Mailing List
Subject: Re: [S2] Chinese encoding problem
Emilia,
I've tried -Dclient.encoding.override=UTF-8, it doesn't seem to change
a
-
From: Vincent Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:30 PM
To: Struts Users Mailing List
Subject: Re: [S2] Chinese encoding problem
Emilia,
I've tried -Dclient.encoding.override=UTF-8, it doesn't seem to change
anything.
It's really wired that when I use
n google client.encoding.override and you will find more)
Emilia
-Original Message-
From: Vincent Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 12:56 PM
To: Struts Users Mailing List
Subject: Re: [S2] Chinese encoding problem
By the way the settings in my JSP:
<%
: Struts Users Mailing List
Subject: Re: [S2] Chinese encoding problem
By the way the settings in my JSP:
<%@ page contentType="text/html; charset=UTF-8" %>
Did I miss anything else?
On 6/27/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm having pr
By the way the settings in my JSP:
<%@ page contentType="text/html; charset=UTF-8" %>
Did I miss anything else?
On 6/27/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
Hi
I'm having problem to submit Chinese characters from browser to web
server.
I have the following settings in struts.proper
Hi
I'm having problem to submit Chinese characters from browser to web server.
I have the following settings in struts.properties:
struts.locale=zh_TW
struts.i18n.encoding=UT8
But when I submit Chinese characters to web server.
It gets scrambled characters.
(The wierd thing is that sometimes
11 matches
Mail list logo