Enumeration parameterNames = request.getParameterNames();
while(parameterNames.hasMoreElements()){
Object param = parameterNames.nextElement();
String val = request.getParameter(String.valueOf(param));
System.out.println(param +" : " + val);
}
打印 request 参数
最新推荐文章于 2024-01-11 10:19:31 发布