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:

url="http://servlet_address?parA=A&parB=B&parC=C&parD=D";
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?

Thanks,

Michal