Bug 150601 Drillthrough link from pdf(frameset) should link to frameset servlet instead of run.
Description: Drillthrough link from pdf(frameset) should link to frameset servlet instead of run. Steps to reproduce: 1. New a report 2. Insert a label and define a drill through link to other report 3. Preview in Web viewer, click Print as PDF button in viewer toolbar 4. Click drill through link in pdf Expected result: Target report opens through frameset sevlet instead of run servlet. Because the pdf is displayed through frameset servlet. Actual result: Target report opened through run sevlet
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
ReportEngineService.class.getClassLoader( ) );
		renderTask.setAppContext( context );
		
		HTMLRenderOption setting = new HTMLRenderOption( );
		setting.setOutputStream( out );
		if ( format.equalsIgnoreCase( ParameterAccessor.PARAM_FORMAT_PDF ) )
		{
			setting.setOutputFormat( IBirtConstants.PDF_RENDER_FORMAT );
			setting
					.setActionHandle( new ViewerHTMLActionHandler(
							reportDocument, pageNumber, locale, false, rtl,
							masterPage ) );
		}
		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, pageNumber, locale, isEmbeddable, rtl,
					masterPage ) );
		}
		renderTask.setRenderOption( setting );
		renderTask.setLocale( locale );