Skip to content Skip to sidebar Skip to footer

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");
URLjs=newURL("http://192.11.my api.php"+temp);

with

String temp=URLEncoder.encode("http://192.11.my api.php/"+sName, "UTF-8");
URLjs=newURL(temp);

Post a Comment for "Filenotfoundexception At Url"