How to programmatically access web page in java

后端 未结 5 1438
无人及你
无人及你 2021-01-30 18:17

There is a web page from which I want to retrieve a certain string. In order to do so, I need to login, click some buttons, fill a text box, click another button - and then the

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-30 18:47

    Take a look at the apache HttpClient project, or if you need to run Javascript on the page, try HttpUnit.

提交回复
热议问题