Bug 155493 [Deploy] Pictures and chart pictures are lost when preview on Weblogic Server using WAR deploy
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
* 
	 * @param reportDesignName
	 *            String
	 * @return String
	 */
	public static String getConfigFileName( String reportDesignName )
	{
		if ( reportDesignName == null )
			return null;
		String configFileName = null;
		if ( reportDesignName.endsWith( IBirtConstants.SUFFIX_DESIGN_FILE ) )
		{
			configFileName = reportDesignName.replaceFirst(
					IBirtConstants.SUFFIX_DESIGN_FILE,
					IBirtConstants.SUFFIX_DESIGN_CONFIG );
		}
		else if ( reportDesignName
				.endsWith( IBirtConstants.SUFFIX_TEMPLATE_FILE ) )
		{
			configFileName = reportDesignName.replaceFirst(
					IBirtConstants.SUFFIX_TEMPLATE_FILE,
					IBirtConstants.SUFFIX_DESIGN_CONFIG );
		}
		return configFileName;
	}
	/**
	 * Get current format of parameter.
	 * 
	 * @param request
	 *            HttpServletRequest