while (iter.hasNext()) {
String key = (String) iter.next();
Object value = aMap.get(key);
if (prefix != null) { key = prefix + key; }
if (logger.isDebugEnabled())
logger.debug("committing ['"+key+"'] to ['"+value+"']");
session.setAttribute(key, value);
}
if (logger.isDebugEnabled())
logger.debug("done commit");