/** * Process the start tag. * * @throws JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return (super.doStartTag()); }
/** * Resets attribute values for tag reuse. */ public void release() { super.release(); setTargetExpr(null); setServerExpr(null); setRefExpr(null); }
/** * Processes all attribute values which use the JSTL expression evaluation * engine to determine their values. * * @exception JspException if a JSP exception has occurred */ private void evaluateExpressions() throws JspException { String string = null; if ((string = EvalHelper.evalString("target", getTargetExpr(), this, pageContext)) != null) setTarget(string); if ((string = EvalHelper.evalString("server", getServerExpr(), this, pageContext)) != null) setServer(string); } }
/** * Process the start of this tag. * * @exception JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String serverName = (this.server == null) ? request.getServerName() : this.server; String baseTag = renderBaseElement( request.getScheme(), serverName, request.getServerPort(), request.getRequestURI()); JspWriter out = pageContext.getOut(); try { out.write(baseTag); } catch (IOException e) { pageContext.setAttribute(Globals.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw new JspException(messages.getMessage("common.io", e.toString())); } return EVAL_BODY_INCLUDE; }
/** * Resets attribute values for tag reuse. */ public void release() { super.release(); setTargetExpr(null); setServerExpr(null); setRefExpr(null); }
/** * Process the start tag. * * @exception JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return (super.doStartTag()); }
/** * Process the start tag. * * @throws JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return (super.doStartTag()); }