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/taglib/ReportTag.java
viewer.getId( ) );
			return;
		}
		
		this.options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST,
				(HttpServletRequest) pageContext.getRequest( ) );
		options.setOption( InputOptions.OPT_LOCALE, this.locale );
		options.setOption( InputOptions.OPT_RTL, Boolean.valueOf( viewer
				.getRtl( ) ) );
		options.setOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT, Boolean
				.valueOf( viewer.getAllowMasterPage( ) ) );
		options.setOption( InputOptions.OPT_SVG_FLAG, Boolean.valueOf( viewer
				.getSvg( ) ) );
		options.setOption( InputOptions.OPT_FORMAT, outputFormat );
		options.setOption( InputOptions.OPT_IS_DESIGNER, new Boolean( false ) );
		options.setOption( InputOptions.OPT_SERVLET_PATH,
				IBirtConstants.SERVLET_PATH_PREVIEW );
		
		BirtReportServiceFactory.getReportService( ).setContext(
				pageContext.getServletContext( ), this.options );
		
		reportDesignHandle = getDesignHandle( );
		
		Collection parameterDefList = getReportService( )
				.getParameterDefinitions( this.reportDesignHandle, options,
						false );
		if ( BirtUtility.validateParameters( parameterDefList,
				getParameterMap( ) ) )
		{