mapprint private String mapToString(Map<String,String> map){StringBuffer sb=new StringBuffer();for(java.util.Map.Entry<String,String> es:map.entrySet()){sb.append(es.getKey()+"="+es.getValue()+",");}return sb.toString();}