code: private MessageEmitSvlt getMessageObj(final HttpServletRequest request,
                                          final MessageResources messages) {
      return (MessageEmitSvlt)StrutsUtil
              .getMessageObj(getId(), this, request,
                             messages,
                             getMessageObjAttrName(),
                             getErrorObjErrProp(),
                             clearMessages());
    }
docs: Get the message object. If we haven't already got one and
  getMessageObjAttrName returns non-null create one and implant it in
  the session.
  
  @param request  Needed to locate session
  @param messages Resources
  @return MessageEmitSvlt