[Java] MalformedURLException
plmiurfd
-
qsdfqf -
qsdfqf -
Bonjour,
petit problème que je n'arrive pas à régler avec mon ami (google)
String strUrl = "http://www.lesite.com/mon-image.jpg"
URL nUrl = new URL(strUrl);
et là j'ai une erreur MalformedURLException avec ces informations :
java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(Unknown Source)
le constructeur d'URL selectionné est bien celui qui gère les String en paramètres.
petit problème que je n'arrive pas à régler avec mon ami (google)
String strUrl = "http://www.lesite.com/mon-image.jpg"
URL nUrl = new URL(strUrl);
et là j'ai une erreur MalformedURLException avec ces informations :
java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(Unknown Source)
le constructeur d'URL selectionné est bien celui qui gère les String en paramètres.
A voir également:
- [Java] MalformedURLException
- Jeux java itel - Télécharger - Jeux vidéo
- Waptrick java football - Télécharger - Jeux vidéo
- Waptrick java voiture - Télécharger - Jeux vidéo
- Java apk - Télécharger - Langages
- Eclipse java - Télécharger - Langages