//获取 from data的post 传值
public String getinput(HttpServletRequest request){
Map map=request.getParameterMap();
Set keSet=map.entrySet();
String s="";
for(Iterator itr = keSet.iterator(); itr.hasNext();){
Map.Entry me=(Map.Entry)itr.next();
Object ok=me.getKey();
Object ov=me.getValue();
String[] value=new String[1];
if(ov instanceof String[]){
value=(String[])ov;
}else{
value[0]=ov.toString();
}
for(int k=0;k<value.length;k++){
s=s+value[k];
System.out.println(ok+"="+value[k]);
}
}
return s;
}