Reputation: 2409
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.
Upvotes: 0
Views: 529
Reputation: 537
try to use
String url = "http://localhost:22334?name=" + name;
instead of yours with the slash: http://localhost:22334/name
Upvotes: 1