isRtl.booleanValue( ) );
isRtl.booleanValue( ), servletPath );
	public void renderReport( String docName, String pageRange,			InputOptions renderOptions, OutputStream out )			throws ReportServiceException	{		IReportDocument doc = ReportEngineService.getInstance( )				.openReportDocument( getReportDesignName( renderOptions ),						docName, getModuleOptions( renderOptions ) );		HttpServletRequest request = (HttpServletRequest) renderOptions				.getOption( InputOptions.OPT_REQUEST );		Locale locale = (Locale) renderOptions				.getOption( InputOptions.OPT_LOCALE );		Boolean isMasterPageContent = (Boolean) renderOptions				.getOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT );		boolean isMasterPage = isMasterPageContent == null				? true				: isMasterPageContent.booleanValue( );		Boolean svgFlag = (Boolean) renderOptions				.getOption( InputOptions.OPT_SVG_FLAG );		boolean isSvg = svgFlag == null ? false : svgFlag.booleanValue( );		Boolean isRtl = (Boolean) renderOptions				.getOption( InputOptions.OPT_RTL );		Long pageNum = null;		if ( pageRange != null && pageRange.trim( ).length( ) >= 0 )			pageNum = Long.valueOf( pageRange );		long page = 1;		if ( pageNum != null )			page = pageNum.longValue( );		try		{			ReportEngineService.getInstance( ).renderReport( out, request, doc,					page, isMasterPage, isSvg, null, locale,					isRtl.booleanValue( ) );			doc.close( );		}		catch ( RemoteException e )		{			doc.close( );			throw new ReportServiceException( e.getLocalizedMessage( ) );		}	}