Hi, >>_But I still can't find there is a method or any way to replace >>_HttpURLConnection.getOutputStream() function.
> You don't get an output stream, you specify > and HttpEntity to be sent. If you have a String, > use the StringEntity. I retry the examples, and I finally can set a string with a name into NameValuePair[], then put it into HttpEntity (by HttpPost.setEntity().) The server can use request.getParameter() with a name to get the string. Then I continue trying different HttpEntity. Otherwise, when I use StringEntity or ByteArrayEntity to wrap the string and put it into HttpEntity (by HttpPost.setEntity()), the server can't get the string use request.getReader() nor request.getInputStream(). But I can see the "postData" of request object (HttpServletRequest) in the debug and watch mode in server-side. I don't know how to retrieve the string from that postData attribute of HttpServletRequest!? Is there any magic thing made I confused? Thanks for any reply or suggestion. Sincerely, Micky --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
