getAddress().setUserId(userId);
}
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
Address address = getAddress();
addErrorIfStringEmpty(errors, "userId", "address.error.userid.required", address.getUserId());
baseValidate(errors, mapping, request);
return errors;
}