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.