Bug 155766 [Regression]Preview will not refresh the modify in design report
Details: Preview will not refresh the modify in design report Step: 1.New a report design. 2.New a label and input label1. 3.Preview. 4.Switch to Layout and modify the content of label as label2. 5.Preview. Actual result: It preview as "label1" twice. Exception result: Preview "label2" at the second time
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
}
	/**
	 * Get web viewer base url.
	 * 
	 * @return base web viewer application url
	 */
	private static String getBaseURL( )
	{
		return "http://" + WebappAccessor.getHost( ) + ":" 
				+ WebappAccessor.getPort( ) + "/viewer/"; 
	}
	/**
	 * Create web viewer url to run the report.
	 * 
	 * @param report
	 *            report file name
	 * @param params
	 *            report parameter map
	 * @return valid web viewer url
	 */
	private static String createURL( String report, Map params )
	{
		if ( params == null || params.isEmpty( ) )
			return createURL( null, report, null, true, null );
		String servletName = (String) params.get( SERVLET_NAME_KEY );
		String format = (String) params.get( FORMAT_KEY );
		String resourceFolder = (String) params.get( RESOURCE_FOLDER_KEY );
		Boolean allowPage = (Boolean) params.get( ALLOW_PAGE_KEY );
		if ( PDF.equalsIgnoreCase( format ) )
		{