Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Not able to connect to a host URL

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Okay.

Duplicate of https://coderanch.com/t/582440/JSP/java/Not-able-connect-host-URL
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Ok..

Thanks a Lot
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic