if ( attrBean != null && !attrBean.isMissingParameter( ) && !ParameterAccessor.PARAM_FORMAT_HTML .equalsIgnoreCase( attrBean.getFormat( ) ) )
if ( attrBean != null && !attrBean.isMissingParameter( ) && !this.__checkHTMLFormat( request ) )
	public void service( HttpServletRequest request,			HttpServletResponse response ) throws ServletException,			IOException, BirtException	{		BaseAttributeBean attrBean = (BaseAttributeBean) request				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );		if ( attrBean != null				&& !attrBean.isMissingParameter( )				&& !ParameterAccessor.PARAM_FORMAT_HTML						.equalsIgnoreCase( attrBean.getFormat( ) ) )		{			this.doPreService( request, response );			this.doService( request, response );			this.doPostService( request, response );		}		else		{			super.doPreService( request, response );			super.doService( request, response );			String target = super.doPostService( request, response );			if ( target != null && target.length( ) > 0 )			{				RequestDispatcher rd = request.getRequestDispatcher( target );				rd.include( request, response );			}		}	}