我有一个网站,我localy运行,并在浏览器上的路径是ASP.Net页面相对路径?
"http://localhost:3184/basel/index.aspx"
我有一个包含各种超链接,其中一个菜单是:
<a href="en/open-account/index.aspx"></a>
//This will evaluate to http://localhost:3184/basel/en/open-account/index.aspx.
超链接将重定向我上面的页面,在此之后,当我尝试再次单击菜单上的相同的链接,该页面的路径是:
"http://localhost:3184/basel/en/open-account/en/open-account/index.aspx"
为什么是否它的路径重复,我一直在挣扎一段时间,但似乎无法弄清楚,任何解决方案?
我已经尝试了您之前所说的内容,它给了我以下路径:“http:// localhost:3184/basel /〜/ en/open-account/index.aspx”。正如你所看到的,“〜”符号在路径上受到阻碍而未被评估,不知道为什么? – 2012-01-04 10:59:52
您是否在 danludwig 2012-01-04 11:03:11
不会有任何区别 – 2012-01-04 11:04:03