Bug 180118 Enhance to print out source stack trace in preview mode.[0002]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/layout/FramesetFragment.java
out = new ByteArrayOutputStream( );
			}
			BirtRenderReportActionHandler renderReport = new BirtRenderReportActionHandler(
					context, op, upResponse, out );
			renderReport.execute( );
			if ( isPrint )
			{
				InputStream inputStream = new ByteArrayInputStream( out
						.toString( ).getBytes( ) );
				BirtUtility.doPrintAction( inputStream, request, response );
			}
		}
		catch ( RemoteException e )
		{
			AxisFault fault = (AxisFault) e;
			response.setContentType( "text/html; charset=utf-8" ); 
			BirtUtility.writeMessage( response.getOutputStream( ),
					ParameterAccessor.htmlEncode( fault.getFaultString( ) ),
					IBirtConstants.MSG_ERROR );
		}
	}
	/**
	 * Override implementation of doPostService.
	 */
	protected String doPostService( HttpServletRequest request,
			HttpServletResponse response ) throws ServletException, IOException
	{
		return null;
	}
}