This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
It is about a form-based authentication in a JSP page.
I've got a crawler that can save pages but I also want to save those homepages which need to be filled with a user name and password
Could you tell me how I can make an automated login?
Joined: Sep 11, 2002
If it is form-based authentication, all you need to do is figure out the parameters for the username and password (from 'view source') and make a request (GET or POST, whatever is more appropriate) with values for those parameters.