Hi all,
I want to use <init-param> in one of my webapps, as follow
<init-param>
<param-name>parameter</param-name>
<param-value>abc,abc,邐邐,abc,abc</param-value>
</init-param>
When I call String a = getInitParameter("parameter"), it set a to
"abc,abc,?,?,abc,abc" . However, what I want is
abc,abc,邐,邐,abc,abc.(no character encoding is needed, just as
plain text). When I call a.getBytes("US-ASCII"), I found that the 邐
is converted to ascii 3f(?), so I guess I must config somewhere else. Is
there any way to do escape in web.xml file?
Thank you very much
Mike
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html