日期:2014-05-17  浏览次数:20756 次

java后台取得浏览器地址?
我使用document.location.hash处理了一下Url,

例:http://127.0.0.1:8080/test/Login.action#userid=1000

如何在后台取得http://127.0.0.1:8080/test/Login.action#userid=1000

求高手帮忙。

------解决方案--------------------
request 有个方法 getRealPath(String path) 返回一虚拟路径的真实路径 

不知道行不行