protected String getImgSrcToRender ( ) throws JspException { BinaryResourcesHandler binaryRsHandler = ( BinaryResourcesHandler ) pageContext . getServletContext ( ) . getAttribute ( JawrConstant . BINARY_CONTEXT_ATTRIBUTE ) ; if ( null == binaryRsHandler ) throw new JspException ( "You are using a Jawr image tag while the Jawr Binary servlet has not been initialized. Initialization of Jawr Image servlet either failed or never occurred." ) ; HttpServletResponse response = ( HttpServletResponse ) pageContext . getResponse ( ) ; HttpServletRequest request = ( HttpServletRequest ) pageContext . getRequest ( ) ; return ImageTagUtils . getImageUrl ( src , base64 , binaryRsHandler , request , response ) ; }
Returns the image source to render