LogKit.info("Request:" + inv.getActionKey() + "?" + UrlUtil.formatMap(inv.getController()));
public static String formatMap(Controller c) {
StringBuilder sb = new StringBuilder("");
boolean isFirst = true;
for (Entry<String, String[]> entry : c.getParaMap().entrySet()) {
if (isFirst)
isFirst = false;
else
sb.append("&");
String key = entry.getKey();
String valueformat = "";
for (String value : entry.getValue()) {
if (valueformat.length() == 0)
valueformat += value;
else
valueformat += "," + value;
}
sb.append(key).append("=").append(valueformat);
}
return sb.toString();
}