• Post Reply Bookmark Topic Watch Topic
  • New Topic

UrlConnections

 
WIZZ KID
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this problem of redirecting URLs. I have this java code that looks for a certain URL on the net. The server returns a no page URL when it is unable to find the URL specified. Now on the browser, when I run the URL, it takes me to the error page, however, it does not return the error page URL to my class. Can anyone help me as to how I can get the error page URL so that I can redirect my application to that error page. I have created UrlConnection to get the page .
A prompt reply will be appreciated
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!