Skip to content

Instantly share code, notes, and snippets.

@kaku87
Created February 27, 2015 05:50
Show Gist options
  • Save kaku87/d2566219ec7d7af35cd2 to your computer and use it in GitHub Desktop.
Save kaku87/d2566219ec7d7af35cd2 to your computer and use it in GitHub Desktop.
getparam
Map map_par=request.getParameterMap();
Set map_ite1 = map_par.keySet( );
Iterator i = map_ite1.iterator( );
while (i.hasNext()) {
String key = (String)i.next();
String par[]=(String[])map_par.get(key);
System.out.println(key+"="+par[0]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment