Map map = this.getRequest().getParameterMap() ;
Set<String> set = map.keySet();
for (String s:set) {
String[] ss= (String[]) map.get(s) ;
System.out.println(s+","+ss[0]);
}
String uri = this.getRequest().getServletPath() ;
用java struts获得 请求地址 url
最新推荐文章于 2018-05-10 23:35:40 发布