protected void doTag ( Writer out ) throws JspException , IOException { JspFragment body = getJspBody ( ) ; if ( body != null ) { // Check for JspWriter to avoid a JspWriter wrapping a JspWriter body . invoke ( ( out instanceof JspWriter ) ? null : out ) ; } }
Once the out JspWriter has been replaced to output the proper content type this version of invoke is called .