how to resolve/normalize URLs in GWT/Javascript?

Posted by Limbic System on Stack Overflow See other posts from Stack Overflow or by Limbic System
Published on 2009-04-14T13:53:01Z Indexed on 2010/06/18 2:53 UTC
Read the original article Hit count: 298

Filed under:
|
|

Given two URLs, how can I resolve one of them against the other? I'm trying to emulate Java's URI.resolve(), which does not exist in GWT's emulation library. I've had to implement this manually, which, as you might expect has been very error-prone. Is there a GWT or Javascript library for resolving or normalizing URLs?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about url