Bug 168304 Context root issue when set to other BIRT Web Project.[0603]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
}
		else
		{
			context.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
					createHTMLrenderContext( svgFlag, servletPath ) );
		}
		context.put( EngineConstants.APPCONTEXT_BIRT_VIEWER_HTTPSERVET_REQUEST,
				request );
		context.put( EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
				ReportEngineService.class.getClassLoader( ) );
		
		ParameterAccessor.pushAppContext( context, request );
		renderTask.setAppContext( context );
		
		HTMLRenderOption setting = new HTMLRenderOption( );
		setting.setOutputStream( out );
		setting.setOutputFormat( format );
		if ( format.equalsIgnoreCase( ParameterAccessor.PARAM_FORMAT_PDF ) )
		{
			setting.setActionHandle( new ViewerHTMLActionHandler( reportDocument,
					pageNumber,
					locale,
					false,
					rtl,
					masterPage ) );
		}
		else
		{
			boolean isEmbeddable = false;
			if ( ParameterAccessor.SERVLET_PATH_FRAMESET.equalsIgnoreCase( servletPath ) )