Bug 139343 [regression]Can not use __document to preview report document when deploy birt.
Summary: [regression]Can not use __document to preview report document when deploy birt. Steps to reproduce: 1. Deploy birt 2. Render a report document 3. Preview the report document by using __document Result: The design file C:\apps\jakarta-tomcat-5.5.7\webapps\birt060428\ has error and can not be run.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/BaseAttributeBean.java
design = getDesignHandle( request );
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, request );
		options.setOption( InputOptions.OPT_LOCALE, locale );
		Collection parameterList = this.getReportService( )
				.getParameterDefinitions( design, options );
		
		this.parameters = (HashMap) getParsedParameters( design, parameterList,
				request, options );
		this.missingParameter = validateParameters( parameterList,
				this.parameters );
	}
	protected IViewerReportDesignHandle getDesignHandle(
			HttpServletRequest request )
	{
		return new BirtViewerReportDesignHandle( null, reportDesignName );
	}
	/**
	 * @return Returns the parameterBean.
	 */
	public ParameterAttributeBean getParameterBean( )
	{
		return parameterBean;
	}
	/**
	 * @param parameterBean
	 *            The parameterBean to set.
	 */
	public void setParameterBean( ParameterAttributeBean parameterBean )
	{