JAVA获取请求链接中所有参数(GET请求)

Enumeration<String> paraNames=request.getParameterNames();

for(Enumeration<String> e=paraNames;e.hasMoreElements()){

        String thisName=e.nextElement()+"";  //name名
 
        String thisValue=request.getParameter(thisName);   //name名对应的值


    }

  

原文地址:https://www.cnblogs.com/pxblog/p/10805308.html