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
private String contextPath = null;
	/**
	 * Constructor.
	 * 
	 * @param servletConfig
	 * @param config
	 */
	private ReportEngineService( ServletConfig servletConfig )
	{
		System.setProperty( "RUN_UNDER_ECLIPSE", "false" ); 
		if ( servletConfig == null )
		{
			return;
		}
		config = new EngineConfig( );
		
		HTMLEmitterConfig emitterConfig = new HTMLEmitterConfig( );
		emitterConfig.setActionHandler( new HTMLActionHandler( ) );
		imageHandler = new HTMLServerImageHandler( );
		emitterConfig.setImageHandler( imageHandler );
		config.getEmitterConfigs( ).put( "html", emitterConfig ); 
		
		imageDirectory = servletConfig.getServletContext( )
				.getInitParameter( ParameterAccessor.INIT_PARAM_IMAGE_DIR );
		if ( imageDirectory == null
				|| imageDirectory.trim( ).length( ) <= 0
				|| ParameterAccessor.isRelativePath( imageDirectory ) )
		{
			imageDirectory = ParameterAccessor.getRealPath( servletConfig.getServletContext( ),
					"/report/images" );