} else {
export = new ExportExcel( output );
setResponseHeaders( MIME_XLS, 0, "export" + export.getExtension() );
}
export.exportFile( new JSONObject( out.toString() ) );
}
} catch ( IOException e ) {
logger.error( "IOException exporting file", e );
} catch ( JSONException e ) {