File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HtmlUnit webpage navigation issue for secured website