Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Connecting to a website" Watch "Connecting to a website" New topic
Author

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.
 
Consider Paul's rocket mass heater.
 
subject: Connecting to a website
 
Similar Threads
jQuery website
Can you please bash my resume?
Weblogic Certif vs. SCEA
Welcome to our author of the week
web site designing and hosting