response.setContentType( "text/html;charset=utf-8" );
response.setContentType( "application/octet-stream" );
	protected void doPreService( HttpServletRequest request,			HttpServletResponse response ) throws ServletException, IOException	{		String format = ParameterAccessor.getFormat( request );		if ( IBirtConstants.SERVLET_PATH_DOWNLOAD.equalsIgnoreCase( request				.getServletPath( ) ) )		{			response.setContentType( "text/plain; charset=utf-8" ); //$NON-NLS-1$			response.setHeader(					"Content-Disposition", "attachment; filename=exportdata.csv" ); //$NON-NLS-1$ //$NON-NLS-2$		}		else if ( ParameterAccessor.PARAM_FORMAT_PDF.equalsIgnoreCase( format ) )		{			response.setContentType( "application/pdf" ); //$NON-NLS-1$			String filename = ParameterAccessor.generateFileName( request );			response					.setHeader(							"Content-Disposition", "inline; filename=\"" + filename + "\"" ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$		}		else		{			String mimeType = ReportEngineService.getInstance( ).getMIMEType(					format );			if ( mimeType != null && mimeType.length( ) > 0 )				response.setContentType( mimeType + ";charset=utf-8" ); //$NON-NLS-1$			else				response.setContentType( "text/html;charset=utf-8" ); //$NON-NLS-1$			response.setHeader( "cache-control", "no-cache" ); //$NON-NLS-1$ //$NON-NLS-2$		}	}