File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Connecting to a website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Connecting to a website" Watch "Connecting to a website" New topic

Connecting to a website

V Bose
Ranch Hand

Joined: Jul 10, 2003
Posts: 113
Whats the general technique to login to a website from within a java progam?
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
The general technique is that you ask the user for the user id and password and then pass it to the web site.

The specific technique depends entirely on the mechanism the web site uses for authentication: form, basic, digest, etc.

Please give us more details on the problem that you are trying to solve.
I agree. Here's the link:
subject: Connecting to a website
It's not a secret anymore!