Hi, I have a problem with passing parameters between a midlet (on Nokia 6310i) and a servlet.
The part of my midlet looks as follows:
HttpConnection con = (HttpConnection) Connector.open(url);
InputStream is = http.openInputStream();
and this stream is empty.
It works on the 6310i's emulator but it does not on the real phone (the phone does not create a WAP connection). It is really weird, because when I use this URL with 1 or 2 parameters, it is working.
Can anybody help me?
RE: URL parameters
Make sure you encode the URL properly. See RFC 1738.