Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access a page with username and password through Java?

 
Mohamed Javeed Farook
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could some one please thro some examples for accessing a URL with username and password through java?

NOTE: I know the username and password

example www.yahoomail.com
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

What, exactly, do you mean by "access" - programmatically from within Java code? In that case I'd advise to use a library like jWebUnit (or HtmlUnit on which it's based).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!