Bug 136770 Cannot view report document from web viewer
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
private static String createURL( String servletName, String report,
			String format )
	{
		String encodedReportName = null;
		try
		{
			encodedReportName = URLEncoder.encode( report, "utf-8" ); 
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		String locale = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( USER_LOCALE );
		String svgFlag = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( SVG_FLAG );
		boolean bSVGFlag = false;
		if ( "true".equalsIgnoreCase( svgFlag ) ) 
		{
			bSVGFlag = true;
		}
		String masterPageContent = ViewerPlugin.getDefault( )
				.getPluginPreferences( ).getString( MASTER_PAGE_CONTENT );
		boolean bMasterPageContent = true;
		if ( "false".equalsIgnoreCase( masterPageContent ) ) 
		{
			bMasterPageContent = false;
		}
		
		return getBaseURL( ) + servletName