Bug 199360 Provide new servlet to retrieve html fragment when in reportlet mode
Currently in reportlet mode, the framesset servlet will still wrap and return all ajax viewer code. We need a new servlet to return only html fragment generated by engine. Then this fragment can be further parsed by client side according to user's requirement.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/servlet/BirtEngineServlet.java
}
		else if ( IBirtConstants.SERVLET_PATH_PARAMETER
				.equalsIgnoreCase( context.getRequest( ).getServletPath( ) ) )
		{
			requester.service( context.getRequest( ), context.getResponse( ) );
		}
		else
		{
			engine.service( context.getRequest( ), context.getResponse( ) );
		}
	}
	/**
	 * Process exception for non soap request.
	 * 
	 * @param request
	 *            incoming http request
	 * @param response
	 *            http response
	 * @param exception
	 * @throws ServletException
	 * @throws IOException
	 */
	protected void __handleNonSoapException( HttpServletRequest request,
			HttpServletResponse response, Exception exception )
			throws ServletException, IOException
	{
		exception.printStackTrace( );
		BirtUtility.appendErrorMessage( response.getOutputStream( ), exception );
	}
}