I am writing an application on java. There is a web service that generates reports and places them in the textarea element. The web service also has user authorization. The task is to extract these reports from this service. Tell me how can this be done?
For example, you can use HtmlUnit .
If the content of the page corresponds to XHTML, then XPath can be used to access relevant parts of the document.