AddressEditForm ade = getAddressFromRequest();
//Validate and add address
if (ade.isValid()) try {
Visitor v = (Visitor) req.getSession().getAttribute(SESSION_ATTRIBUTE_VISITOR);
addr = new Address(ade.getStreetAddress1(), ade.getCity(), ade.getState(), ade.getZip(), false, v.getCustomer().getPerson());
addr = service.store(addr);
} catch (Exception e) {
l.log(Level.WARNING, "Failed to store addr", e);
ade.setResultMessage("Could not store address");
}