Bug 155493 [Deploy] Pictures and chart pictures are lost when preview on Weblogic Server using WAR deploy
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
else
		{
			setting.setOutputFormat( IBirtConstants.HTML_RENDER_FORMAT );
			boolean isEmbeddable = false;
			if ( ParameterAccessor.SERVLET_PATH_FRAMESET
					.equalsIgnoreCase( request.getServletPath( ) ) )
				isEmbeddable = true;
			setting.setEmbeddable( isEmbeddable );
			setting.setHtmlRtLFlag( rtl );
			setting.setInstanceIDs( activeIds );
			setting.setMasterPageContent( masterPage );
			setting
					.setActionHandle( new ViewerHTMLActionHandler(
							reportDocument, -1, locale, isEmbeddable, rtl,
							masterPage ) );
		}
		renderTask.setRenderOption( setting );
		renderTask.setLocale( locale );
		
		try
		{
			if ( ParameterAccessor.isIidReportlet( request ) )
			{
				InstanceID instanceId = InstanceID.parse( reportletId );
				renderTask.setInstanceID( instanceId );
			}
			else
			{
				renderTask.setReportlet( reportletId );
			}