• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do get a https's page  RSS feed

 
Tommy Lee
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get a web page content
--https://www.chinatrust.com.tw/cgi-bin/prod/jsp/ch/home/default.jsp
have any one can tell me how to get it ?
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to pass in the authentication parameters, username and password.

Speaking of userName, pleasechange your display name to conform to the JavaRanch naming convention. Remember that an underscore '_' is not the same as a space. Thanks
[ January 14, 2004: Message edited by: Marilyn de Queiroz ]
 
Murat Balkan
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Since this is not basic authentication, username and password will be useless.You have to use javax.net.ssl.
Theres a sample at
http://www.uk-dave.com/bytes/java/httpsclient.shtml
Hope helps,
Murat
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!