Bug 145491 [deployment]BIRT_VIEWER_LOCALE in web.xml doesn't work
Description: BIRT_VIEWER_LOCALE in web.xml doesn't work Steps to reproduce: 1. Deploy birt 2. Set ko_kr to BIRT_VIEWER_LOCALE inside web.xml file 3. Start application server and preview report. Expected result: The default locale for report should be ko_kr Actual result: The report still used en_us locale to display datetime data.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
/**
	 * Check whether the viewer is used in designer or not.
	 * 
	 * @param request
	 * @return
	 */
	public static boolean isDesigner( HttpServletRequest request )
	{
		boolean inDEsigner = false;
		if ( "true".equalsIgnoreCase( getParameter( request, PARAM_DESIGNER ) ) ) 
		{
			inDEsigner = true;
		}
		return inDEsigner;
	}
	/***************************************************************************
	 * For export data
	 **************************************************************************/
	/**
	 * Check whether the request is to get image.
	 * 
	 * @param request
	 *            http request
	 * @return is get image or not
	 */
	public static boolean isGetImageOperator( HttpServletRequest request )
	{
		String imageName = getParameter( request, PARAM_IMAGEID );
		return imageName != null && imageName.length( ) > 0;
	}