[Solved] getting error in URL why? [closed]


The error message tells you the problem:

Exception in thread "main" java.net.MalformedURLException: no protocol: upload1.something.com 
    at java.net.URL.<init>(URL.java:586)
    at java.net.URL.<init>(URL.java:483)
    at java.net.URL.<init>(URL.java:432)
    at Ideone.main(Main.java:12)

Ideone

You are missing the protocol.

solved getting error in URL why? [closed]