我有一个HTML页面,我想在html页面内通过Javascript检索html文档的名称.那可能吗?
例如html的名字 document = "indexOLD.html"
嗨:在我的网站上,我发现他们的网址非常简单:
http://example.com/questions/4486620/randomaccessfile-probelm
通常网址应该像:
http://example.com/questions?xx=4486620&title=randomaccessfile-probelm
也就是说,url中没有"&"组合的请求参数.
他们是怎么做到的?有框架吗?
更新: 我的应用程序在tomcat下运行.