Bug 200812 Issue when remove one separator setting in viewer.property[0002]
Description: Issue when remove one separator setting in viewer.property Build number:2.2.1.v200708220927 Steps to reproduce: 1. Deploy birt. 2. Open viewer.properties under WEB-INF folder. 3. Delete "viewer.sep.0=," line 4. Start server. 5. Preview report. 6. Export Data, select columns and select "Comma(,)", click OK. Expected result: Comma(,) isn't in the separator list. Actual result: Nothing happened after step6 and no error logs. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
*/
	protected static String getParameter( HttpServletRequest request,
			String parameterName, boolean isUTF )
	{
		String ISOParameterName = ( isUTF )
				? toISOString( parameterName )
				: parameterName;
		String value = request.getParameter( ISOParameterName );
		String encoding = request.getCharacterEncoding( );
		return toUTFString( value, encoding );
	}
	/**
	 * Get named parameter as integer from http request. parameter names and
	 * values are all in iso-8859-1 format in request.
	 * 
	 * @param request
	 * @param parameterName
	 * @return
	 */
	protected static int getParameterAsInt( HttpServletRequest request,
			String parameterName )
	{
		int iValue = -1;
		String value = getParameter( request, parameterName );
		if ( value != null && value.length( ) > 0 )
		{
			try
			{
				iValue = Integer.parseInt( value );
			}