String reportDesignName = ParameterAccessor.getReport( request ); IViewerReportDesignHandle designHandle = new BirtViewerReportDesignHandle( null, reportDesignName );
	protected void doService( HttpServletRequest request,			HttpServletResponse response ) throws ServletException, IOException	{		ViewerAttributeBean attrBean = ( ViewerAttributeBean ) request				.getAttribute( "attributeBean" ); //$NON-NLS-1$		assert attrBean != null;		assert parameter != null;		ScalarParameterBean parameterBean = new ScalarParameterBean( parameter );		attrBean.setParameterBean( parameterBean );		String reportDesignName = ParameterAccessor.getReport( request );		IViewerReportDesignHandle designHandle = new BirtViewerReportDesignHandle(				null, reportDesignName );		Locale locale = attrBean.getLocale( );		boolean isDesigner = attrBean.isDesigner( );		try		{			prepareParameterBean( designHandle, getReportService( ),					request, parameterBean, parameter, locale, isDesigner );			// Prepare additional parameter properties.			prepareParameterBean( request, getReportService( ), parameterBean,					locale );		}		catch ( ReportServiceException e )		{			// TODO: What to do with exception?			e.printStackTrace( );		}	}