html - how can I force href direction to external host page? -


i have html:

<a href="http:/myhost.com/tiles/internal?linegeom=(-71.1208,42.3317,-71.1052,42.3261,-71.0872,42.3354,-71.0570,42.3295,-71.0376,42.3394),(-71.1208,42.3317,-71.0754,42.3311,-71.0617,42.3428,-71.0376,42.3394),(-71.1208,42.3317,-71.0675,42.3525,-71.0376,42.3395)">live map</a> 

i open in browser, follows:

http://localhost:63342/routingregression/html_pages/delta_to_baseline_table/delta_to_baseline_samples_agg_fresh.html#astar_improve

and when press link i'm direct to:

http://localhost:63342/myhost.com/tiles/internal?linegeom=(-71.1208,42.3317,-71.1052,42.3261,-71.0872,42.3354,-71.0570,42.3295,-71.0376,42.3394),(-71.1208,42.3317,-71.0754,42.3311,-71.0617,42.3428,-71.0376,42.3394),(-71.1208,42.3317,-71.0675,42.3525,-71.0376,42.3395) 

how can change directed to: (new http page):

"http:/myhost.com/tiles/internal?linegeom=(-71.1208,42.3317,-71.1052,42.3261,-71.0872,42.3354,-71.0570,42.3295,-71.0376,42.3394),(-71.1208,42.3317,-71.0754,42.3311,-71.0617,42.3428,-71.0376,42.3394),(-71.1208,42.3317,-71.0675,42.3525,-71.0376,42.3395)" 

update

how can it's generated "http:/" instead of "http://" ?

this url builder:

    uribuilder builder = uribuilder             .frompath(constants.livemap_base_url_us)             .scheme("http");     return builder.build().tostring(); 

it seems url incorrect

change

http:/myhost.com 

to

http://myhost.com 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -