Bug 199712 Output servlet doesn't support __svg[0601]
Description: Output servlet doesn't support __svg Build number:2.2.1.v200708130947 Steps to reproduce: 1. Preview a svg chart in browser using frameset/run/preview/output servlets. 2. Add __svg=true in url and check rendered chart image. 3. Change to __svg=false in url and check rendered chart image. Expected result: When svg=true, the chart image is a svg image in html source. When svg=false, the chart image isn't a svg image. Actual result: For output servlet, svg is true or false will always display chart image with non-svg type. It's ok for Frameset/run/preview servlets.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtRenderReportActionHandler.java
* Local execution.
	 * 
	 * @exception ReportServiceException
	 * @return
	 */
	public void __execute( ) throws Exception
	{
		ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( );
		assert attrBean != null;
		String docName = attrBean.getReportDocumentName( );
		boolean master = attrBean.isMasterPageContent( );
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, context.getRequest( ) );
		options.setOption( InputOptions.OPT_LOCALE, attrBean.getLocale( ) );
		options.setOption( InputOptions.OPT_RTL,
				new Boolean( attrBean.isRtl( ) ) );
		options.setOption( InputOptions.OPT_FORMAT, attrBean.getFormat( ) );
		options.setOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT,
				new Boolean( master ) );
		options.setOption( InputOptions.OPT_IS_DESIGNER, new Boolean( attrBean
				.isDesigner( ) ) );
		getReportService( ).renderReport( docName, attrBean.getReportPage( ),
				attrBean.getReportPageRange( ), options, os );
	}
	protected IViewerReportService getReportService( )
	{
		return BirtReportServiceFactory.getReportService( );
	}
}