I'm using Http servet implements com.sun.net.httpserver开发者_如何学编程.HttpServer. on my client midlet I'm using the following url: String url = "http://localhost:22334/name=" + name; When request arrived to server, the recieved HttpExchange does not contins the "name=john" data? How can i read the data from the url? Thanks, Eyal.
try to use
String url = "http://localhost:22334?name=" + name;
instead of yours with the slash: http://localhost:22334/name
精彩评论