- From: mubariz kharbe <mubariz_kharbe@infosys.com>
- Date: Tue, 11 Jun 2002 11:40:45 +0900
- To: www-international@w3.org
Hi, In my application , I have to pass values from ASP to servlet. I am passing the value from asp using the following code url = "http://localhost:8080/SimpleServlet?MyData=" & data sendStr = cstr(rnd()) sendStr = sendStr & cstr(now()) Set httpOb = Server.CreateObject("Microsoft.XMLHTTP") httpOb.open "POST", urlStr, false httpOb.send sendStr At the servlet side I am retreiving the value using String getData = new String(request.getParameter("MyData").getBytes("8859_1"),"UTF8"); If I pass japanese values then I am getting the value of getData as ??. What could be the problem and what should be the solution? TIA Mubariz
Received on Tuesday, 11 June 2002 09:12:29 UTC