Bug 180431 Exported files from Export Report have no extension name.[0002]
Description: Exported files from Export Report have no extension name. Build number:2.2.0.v20070402 Steps to reproduce: 1. New a report. 2. Preview in Web Viewer. 3. Click Export Report. 4. Select any kind of format and click OK. 5. Save the report intead of open it. 6. Check the saved file. Expected result: If I choose PDF, the file name should be like "new_report_1.pdf" Actual result: The file name is new_report without extension name. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/layout/FramesetFragment.java
* Check if use html format
	 * 
	 * @param request
	 * @return
	 */
	protected boolean __checkHTMLFormat( HttpServletRequest request )
	{
		BaseAttributeBean bean = (BaseAttributeBean) request
				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		assert bean != null;
		return ParameterAccessor.PARAM_FORMAT_HTML.equalsIgnoreCase( bean
				.getFormat( ) );
	}
	/**
	 * Anything before do service.
	 * 
	 * @param request
	 *            incoming http request
	 * @param response
	 *            http response
	 * @exception ServletException
	 * @exception IOException
	 */
	protected void doPreService( HttpServletRequest request,
			HttpServletResponse response ) throws ServletException, IOException
	{
		BaseAttributeBean attrBean = (BaseAttributeBean) request
				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		String format = attrBean.getFormat( );
		String openType = ParameterAccessor.getOpenType( request );