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
* Get report format.
	 * 
	 * @param request
	 *            http request
	 * @return report format
	 */
	public static String getFormat( HttpServletRequest request )
	{
		String format = getParameter( request, PARAM_FORMAT );
		if ( format != null && format.length( ) > 0 )
		{
			return format;
		}
		return PARAM_FORMAT_HTML; 
	}
	/**
	 * Get preview max rows.
	 * 
	 * @param request
	 *            http request
	 * @return max rows
	 */
	public static int getMaxRows( HttpServletRequest request )
	{
		int curMaxRows = ParameterAccessor.getParameterAsInt( request,
				PARAM_MAXROWS );
		if ( curMaxRows <= 0 )
			curMaxRows = maxRows;
		return curMaxRows;
	}