This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes HtmlUnit webpage navigation issue for secured website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "HtmlUnit webpage navigation issue for secured website" Watch "HtmlUnit webpage navigation issue for secured website" New topic
Author

HtmlUnit webpage navigation issue for secured website

Soumyajit Hazra
Ranch Hand

Joined: Jun 26, 2007
Posts: 136
Hi Ranchers,

I am quite new to the htmlunit framework. Using it for navigating into a website to automate a job. This website is having the following property

1. This website is only operational in USA.
2. If we try to use it from any other location then we can login and get the second page with welcome message and few links. And if we click any of the link it will routed back to the login page again by telling that we don't have permission to do the click.

I am trying to use htmlunit to navigate into the website and when I am running the code from outside USA I am routed back to the login after I try to click anything in the second page ( i.e initial login is working)page as expected. Now I have given the same code to my USA teammates but there also it is not able to get pass the second page, i.e getting the same behavior as if it's running from non US . I am using,

for the initial configuration. Am I missing something? What are the things mainly I need to check.
Please help ... >


Java Programmer | SCJP 1.5 | SCWCD 1.4
Soumyajit Hazra
Ranch Hand

Joined: Jun 26, 2007
Posts: 136
Still facing the same issue. Any help...
Soumyajit Hazra
Ranch Hand

Joined: Jun 26, 2007
Posts: 136
 
Consider Paul's rocket mass heater.
 
subject: HtmlUnit webpage navigation issue for secured website
 
Similar Threads
cannot get https page details
Login to a web forum
Accessing Html web page components from normal Java Application.
Java HtmlUnit
Combining HtmlUnit and HttpClient