This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Not able to connect to a host URL  RSS feed

 
Deepshan Shetty
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi

I'm trying to connect to a URL (https://infinity.bank.co.in/AWAY) through my jsp.
But i get an exception like
exception in urlConnect-->java.net.UnknownHostException: infinity.bank.co.in

My code to connect is as follows


where VerifyResponseURL = https://infinity.bank.co.in/AWAY
and the URL is correct

Can i get a solution to this?
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please CarefullyChooseOneForum. The question has nothing to do with XML. You could have posted in Java In-General forum.
 
Deepshan Shetty
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yes sorry i just realized it now.
posted it in JSP forum

Did not know how to delete the wrong post
 
John Jai
Rancher
Posts: 1776
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Report post to moderator
shraddha dsn wrote:Did not know how to delete the wrong post

No problem. I have reported the thread to the moderator using the Report button.
 
Deepshan Shetty
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Report post to moderator
Ok..

Thanks a Lot
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!