Tutorial :malformed url exception



why is this url throwing a java.net.MalformedURLException??


The only reason I can think of is if your code is mistakenly applying the URL decoder to the URL string before trying to parse the URL. That would replace the %xx escapes with the characters they stand for, and you'd end up with illegal characters in the "query" part of the URL.

Please post the code that throws the exception.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »