FileNotFoundException At URL
I am trying to get the request from the php url.File not found exception occurred at runtime.I mentioned the error line in the below code.Stacktrace seems to be doesn't get the res
Solution 1:
try replace this lines
String temp=sName.replace(" ","%20");
URL js = new URL("http://192.11.my api.php"+temp);
with
String temp=URLEncoder.encode("http://192.11.my api.php/"+sName, "UTF-8");
URL js = new URL(temp);
Post a Comment for "FileNotFoundException At URL"