Hi,
Thanks.
Hi,
Thanks.
Last edited by shanklin; 2010-09-21 at 14:09.
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
on GET Request means, you are not able to open the request URL for connecting to the server.java io IOException
It may be due to error in URL string itself, bad encoding of QueryString (try URLecoding), or non-avaiablity of internet connectivity or non-reachablilty of server.
thanks,
~Amitabh
Hi,
Thanks.
Last edited by shanklin; 2010-09-21 at 14:09.
try to print the getID and check if it contains any blank space or special characters that need / encoding, try trimmig the getID.
Also try hardcoing the getID for testing and see the result.
thanks,
~Amitabh
Hi,
Thanks.
Last edited by shanklin; 2010-09-21 at 14:09.
Any space or special character as a part of URL/QueryString needs to be URLencoded to pass over the network - else - if will throw IO exception - The getID when trimed, you removed all the extra spaces from it and hence it worked.why trimming the field contents, allowed the value to be retrieved correctly? so i can avoid this issue in the future.
If space is needed to be send over the internet in http request querrystring it is replaced by %20, you might have seen it on browser IE URL area when you try to hit any server url that has spaces.. it autoconverts spaces to %20.
thanks,
~Amitabh