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/ViewerHTMLActionHandler.java
{
			baseURL = ( (HTMLRenderContext) context ).getBaseURL( );
		}
		if ( context instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) context ).getBaseURL( );
		}
		
		String bookmark = action.getBookmark( );
		
		
		if ( baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_FRAMESET ) > 0 )
		{
			return "javascript:catchBookmark('" + bookmark + "')"; 
		}
		
		StringBuffer link = new StringBuffer( );
		boolean realBookmark = false;
		if ( this.document != null )
		{
			long pageNumber = this.document
					.getPageNumber( action.getBookmark( ) );
			realBookmark = ( pageNumber == this.page && !isEmbeddable );
		}
		try
		{
			bookmark = URLEncoder.encode( bookmark,
					ParameterAccessor.UTF_8_ENCODE );
		}
		catch ( UnsupportedEncodingException e )