I am passing one page, for example, Jsoup.connect("home.html") but this returns a response of any other page like "Login.html" as jsoup try to open "home.html" but this page requires login first.
Is there any way to store previous responses for jsoup somehow or directly get the required page's response?