Unknown Host Exception
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ajay_luthria
Posted On:   Tuesday, January 8, 2002 08:18 AM

Hello, I have configured Tomcat so that it is now an HTTPS Server. I run Tomcat and then invoke my java application which takes a URL string of https://localhost:8443/AHTTP/index.html to view the contents of the file index.html on the secure TOMCAT server. (where AHTTP is my context) When i invoke my application,I get the Exception java.net.UnknownHostException. Can anyone explain why am i getting this error? How can I view the contents of a file which is on my Tomcat HTTPS Server? Can anyone please help me out? The code works if you replace https://localhost:8443/AHHTP/index.html with www.javacourses.com/about.html rega   More>>

Hello,
I have configured Tomcat so that it is
now an HTTPS Server.
I run Tomcat and then invoke my java application
which takes a URL string of https://localhost:8443/AHTTP/index.html
to view the contents of the file index.html on the secure TOMCAT server.

(where AHTTP is my context)

When i invoke my application,I get the Exception java.net.UnknownHostException.


Can anyone explain why am i getting this
error?
How can I view the contents of a file which is on my Tomcat HTTPS Server?

Can anyone please help me out?

The code works if you replace https://localhost:8443/AHHTP/index.html
with www.javacourses.com/about.html

regards
ajay luthria

ajayluthria@hotmail.com

   <<Less
About | Sitemap | Contact