其他分享
首页 > 其他分享> > url全部信息打印

url全部信息打印

作者:互联网

public String findAllContract(HttpServletRequest request,String a){


String string = new StringBuilder().append(request.getRequestURL()).append(request.getQueryString() == null ? "" : "?" + request.getQueryString()).toString();


System.out.println(string);

return "1"+"+++++++++++++++"+string;
}

标签:String,url,打印,request,getQueryString,信息,System,append,string
来源: https://www.cnblogs.com/-flq/p/10361823.html