getServletContext( ) );
getServletContext( ), request );
	public void doGet( HttpServletRequest request, HttpServletResponse response )			throws ServletException, IOException	{		ReportEngineService.getInstance( ).setEngineContext(				getServletContext( ) );		// Exception happened during context init.		BirtContext context = new BirtContext( request );		if ( context.getBean( ).getException( ) != null )		{			context.finalize( );			displayException( request, response, context.getBean( )					.getException( ) );		}		else		{			try			{				if ( SERVLET_PATH_FRAMESET.equalsIgnoreCase( request						.getServletPath( ) ) )				{					viewer.service( request, response );				}				else if ( SERVLET_PATH_PREVIEW.equalsIgnoreCase( request						.getServletPath( ) ) )				{					preview.service( request, response );				}				else if ( SERVLET_PATH_RUN.equalsIgnoreCase( request						.getServletPath( ) ) )				{					engine.service( request, response );				}				else if ( SERVLET_PATH_PARAMETER.equalsIgnoreCase( request						.getServletPath( ) ) )				{					parameter.service( request, response );				}			}			catch ( BirtException e )			{				displayException( request, response, e );			}			finally			{				context.finalize( );			}		}	}