dimanche 13 mai 2018

Reading html from local html file with HTMLUNIT

I am trying to load a local html file which I have downloaded. Does anybody know how to do this? I am currently getting statuscode[404].

this is how I am doing it

HtmlPage htmlPage=webClient.getPage("file:\\\\Users\\njd202\\Desktop\\zipmeupbich\\springbootmongodb\\src\\main\\resources\\downloadedfiles\\Cuban2.html") ;




Aucun commentaire:

Enregistrer un commentaire