I'm getting a WebRequest back from a page OK, but that page has an HTML header in it that makes it redirect after a few seconds. My WebRequest is left holding the bag with the original page with the header in it, rather than the page it redirects to.
I tried simply calling WebConversation.getCurrentPage() a second time, but this still gives me the original page.
Any ideas how I can get the contents of the final page after the redirect?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting a WebRequest back from a page OK, but that page has an HTML header in it that makes it redirect after a few seconds. My WebRequest is left holding the bag with the original page with the header in it, rather than the page it redirects to.
I tried simply calling WebConversation.getCurrentPage() a second time, but this still gives me the original page.
Any ideas how I can get the contents of the final page after the redirect?