+ 1
Get XMLHttpRequest response's data with java
There is an interactive website, containing list of options, by clicking one of them, it send xmlhttp request, and the displaying the data on website, I would ask, how to get these data with java in order to save it, etc..., if I know the referer complete url? My goal is to save these data automatically, still clicking and clicking on the button :) The website has this pattern http://www.yyyyuu.edu.sd/book/index.php?embid=&todo=&ekey=&mkey=3&rnb1= but the part after "index.php" doesnt be displayed in url toolbar, but I got it from other place, so changing "mkey" parameter, should sends other request. thx for any help,
1 Antwort
+ 5
Basically you need a controller on the backend listening to the HttpRequest.
I'd recommend to look into the Spring framework which provides out-of-the-box solutions for REST services and data persistence (for many databases, using JPA, Hibernate or whatever).
Start from:
Spring Boot
Spring MVC
Spring Data