Bug 119343 Smoke: Report design can't be edited.
Description: Report design can't be modified. Steps to reproduce: 1. Create a report. 2. Preview and then edit it. 3. Preview again. 4. It is not modified.
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
}
		
		if ( encodedReportName != null && encodedReportName.length( ) > 0 )
		{
			encodedDocumentName = encodedReportName.substring( 0, encodedReportName.indexOf( ".") ) + ".rptdocument"; 
		}
		
		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;
		}
		 
		return getBaseURL( )
			+ servletName + "?" 
			+ "__report=" + encodedReportName 
			+  ( "run".equalsIgnoreCase( servletName )? "" : "&__document=" + encodedDocumentName )  
			+ "&__format=" + format 
			+ "&__usetestconfig=true" 
			+ "&__svg=" +  String.valueOf( bSVGFlag )
			+ "&__locale=" + LocaleTable.get(locale); 
		
	}
	/**
	 * Start web application.
	 */
	private static void startWebApp( )