This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using HttpClient API for accesing web pages. I am able to access the content (html content)first page.Now I want to login from that page but problem is that there is java script function which is encrypting the password.so I am unable to go to next page and the programme is retriving the content of same page(html content of first page).
Oops ... I read the first post much too quickly, substituting HttpUnit for HttpClient. If you want to create an HTTP conversation back and forth, you're much off using HttpUnit, though. HttpClient -as suggested above- only retrieves the page - it has no facilities for dealing with page content. HttpUnit can do much more in this regard.
Joined: Nov 29, 2005
yes..that is true ..httpunit can be useful in faking server client interaction.