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
documentName = filePath;
		String documentFolder = workingFolder + fileSeparator + DOCUMENTS_DIR
				+ fileSeparator + sessionId + projectName;
		String documentPath = documentFolder + documentName;
		return documentPath;
	}
	/**
	 * Clears the report document files which had been created last time the
	 * server starts up.
	 */
	protected static void clearDocuments( )
	{
		String documentFolder = workingFolder + DOCUMENTS_DIR;
		File file = new File( documentFolder );
		boolean success = file.delete( );
		if ( !success )
			deleteDir( file );
	}
	/**
	 * Deletes all files and subdirectories under dir. Returns true if all
	 * deletions were successful. If a deletion fails, the method stops
	 * attempting to delete and returns false.
	 */
	protected static boolean deleteDir( File dir )
	{
		if ( dir.isDirectory( ) )
		{
			String[] children = dir.list( );
			for ( int i = 0; i < children.length; i++ )
			{