“java.net.MalformedURLException: Protocol not found” read to html file

前端 未结 2 878
花落未央
花落未央 2020-11-30 11:18

I receviced an error: java.net.MalformedURLException: Protocol not found

I want to read an HTML file on the web

mainfest :::::   uses-pe         


        
2条回答
  •  爱一瞬间的悲伤
    2020-11-30 12:10

    String myUri = "";
    
    
    
    myUri = "www.tcmb.gov.tr/kurlar/today.html";
    

    your uri is not completed.you can write complete url just like as.

    String myUri="https://www.tcmb.gov.tr/kurlar/today.html";
    

提交回复
热议问题