Resolving urls

Results 1 to 2 of 2

Thread: Resolving urls

  1. #1
    D Menon Guest

    Default Resolving urls

    how can i resolve url&#039s such that they are bracketed into three categories<BR>relative directory<BR>absolute to domain<BR>absolute universally<BR><BR>HELP !

  2. #2
    Jason Miller Guest

    Default RE: Resolving urls

    If a URL starts with a "/", it&#039s absolute to the domain.<BR><BR>Unfortunately, there&#039s no good way -- short of a component pinging the http://URL to absolutely determine whether a url like "" means "" or just some sort of Organizational Chart for your Slashdot business group which is in the same directory.<BR><BR>The inverse of that is to use a FileSystem object, map the URL on the drive and see if a file exists. If you get an error or the file does not exist, then try to ping the URL; otherwise it&#039s a file. If you can&#039t ping the URL successfully, it&#039a broken link, regardless of where it was going.<BR><BR>HiH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts