jsp 获取地址栏的地址:
String url=request.getScheme()+"://";
url+=request.getHeader("host");
url+=request.getRequestURI();
if(request.getQueryString()!=null)
url+="?"+request.getQueryString();
String aa=request.getQueryString();
out.println(url);