or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "red phoenix" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 08, 2007 8:47 PM
Subject: Re: Struts2 character code question
&g
OTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 08, 2007 8:47 PM
Subject: Re: Struts2 character code question
I tried follows in test.do:
String name=request.getParameter("Name");
System.out.println(new String(name.getBytes("UTF-8"), "gb2312&q
I tried follows in test.do:
String name=request.getParameter("Name");
System.out.println(new String(name.getBytes("UTF-8"), "gb2312"))
it still show [EMAIL PROTECTED],Why?
On 5/8/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Red,
red phoeni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Red,
red phoenix wrote:
> If I input English name in the field Name in JSP,when I submit,the
> test.do will receive right English name,but when I input Chinese name
> in the field Name in JSP, test.do will receive not right name,it will
> show [EMAI
I have set my all files with UTF-8 format,so I set URIEncoding parameter in
server.xml in tomcat6.0.10,like follows:
Then I write a JSP file like follows:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
In test.do action,I get the
5 matches
Mail list logo