hi,
does anyone use HttpClient?
i want to know how am i going to inform the servlet that i am
sending a "shift_jis" character set? because i tried to set it on the
"Content-type" header during sending of request. here is a sample code:
HTTPConnection con = new HTTPConnection("http://carnelian:8080");
NVPair data = new NVPair[1];
data[0] = new NVPair("name", "randie");
NVPair[] pair = new NVPair[1];
pair[0] = new NVPair("Content-type", "charset=shift_jis");
HttpResponse rsp = con.Post("/statistic/LogIn", data, pair);
but my servlet would get the "data" value of NULL.
thanks a lot.
___________________________________________________________________________
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