Bug 168304 Context root issue when set to other BIRT Web Project.[0603]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
boolean isEmbeddable = false;
			if ( ParameterAccessor.SERVLET_PATH_FRAMESET.equalsIgnoreCase( servletPath ) )
				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 );
			}
			if ( format.equalsIgnoreCase( ParameterAccessor.PARAM_FORMAT_PDF ) )
				renderTask.render( );