Bug 168305 IsHostPage doesn't work for birt:report tag.[0603]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ReportTag.java
options.setOption( InputOptions.OPT_SERVLET_PATH,
				IBirtConstants.SERVLET_PATH_PREVIEW );
		
		BirtReportServiceFactory.getReportService( ).setContext(
				pageContext.getServletContext( ), this.options );
		
		reportDesignHandle = getDesignHandle( );
		
		Collection parameterDefList = getReportService( )
				.getParameterDefinitions( this.reportDesignHandle, options,
						false );
		if ( BirtUtility.validateParameters( parameterDefList,
				getParameterMap( ) ) )
		{
			
			__handleIFrame( viewer.createURI( IBirtConstants.VIEWER_PREVIEW ),
					viewer.getId( ) );
		}
		else
		{
			
			ByteArrayOutputStream out = new ByteArrayOutputStream( );
			__handleOutputReport( out );
			String content = out.toString( );
			JspWriter writer = pageContext.getOut( );
			if ( viewer.isHostPage( ) )
			{
				
				writer.write( content );
			}