• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resolve relative URL  RSS feed

 
Julien Herbert
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use the class URL and I'm looking to find how, when i read the value of the HTML tag's property <A HREF=""> I could transform it in a absolute URI.
Is there other way that build it with the getHost(), getPath(), getFile() methods ? because sometimes this property can be ../../../index.thml and I want decode it. Is there some other way that testing the extention of the file name to obtain the file's type ?
Thanks
loic
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!