我使用的是Http servet实现的com.sun.net.httpserver.HttpServer。在我的客户端midlet上,我使用了以下url: String url = "http://localhost:22334/name=“+ name;当请求到达服务器时,收到的HttpExchange不继续"name=john”数据?如何从url中读取数据?谢谢,埃亚尔。
发布于 2011-08-02 19:03:27
试着使用
String url = "http://localhost:22334?name=" + name;而不是使用斜杠:http://localhost:22334/name
https://stackoverflow.com/questions/6910972
复制相似问题