public int doEndTag() throws JspTagException { try { writeFragment(); } catch (JspException e) { e.printStackTrace(); } return EVAL_PAGE; }
public int doEndTag() throws JspTagException { try { writeFragment(); } catch (JspException e) { e.printStackTrace(); } return EVAL_PAGE; }
/** * implementation of AuthenticationTag * * @return DOCUMENT ME! * * @throws IllegalArgumentException DOCUMENT ME! */ public String getPrincipal() { MyAuthenticationTag authenticationTag = new MyAuthenticationTag(); authenticationTag.setOperation("username"); try { authenticationTag.doStartTag(); } catch (JspException je) { je.printStackTrace(); throw new IllegalArgumentException(je.getMessage()); } return authenticationTag.getLastMessage(); }