public void doTag() throws JspException, IOException { try { ZMailbox mbox = getMailbox(); ZMailbox.ZActionResult result = mbox.markVoiceMailHeard(mPhone, mId, mHeard); getJspContext().setAttribute(mVar, new ZActionResultBean(result), PageContext.PAGE_SCOPE); } catch (ServiceException e) { throw new JspTagException(e); } }