• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.


Downloading applets and html pages with release 40

Page history last edited by Mike May, S.J. 9 years, 4 months ago


Capturing GeoGebra applets from the web


In the process of creating GeoGebra activities and turning them into applets and web pages, it is fruitful to be able to download the materials that others have created and to be able to examine those materials in detail.  This tutorial walks you through that process.


I) Capturing an activity from a web page.

We will start with downloading the applet on a Family of Functions at



The easiest way to recover the applet is to open the url from within GeoGebra.



When you select "Open Webage" from the File menu a dialog opens.  By default it opens with the contents of the clipboard, so you should copy the url from your browser.



This captures the applet in GeoGebra.



II) Collecting the rest of the webpage


Besides the applet proper, there is also the rest of the web page that it is embedded in.  The easiest way is to use the page source option form the view menu.



The resulting html file can be saved.   Before we continue, we need to cover some technical details, since there are several ways that GeoGebra activities are stored on the web.  When thinking about an applet, it is useful to think of it as being built of three conceptually different components:

  1. There is generally an html file.  This is actually a text file that is read by a browser.  It gives instructions to the browser.
  2. For our purposes we need a copy of the GeoGebra applet that can be used.  This comes in the form of a collection of jar files.  The number of jar files depends on which version of GeoGebra you are using.
  3. There is the equivalent of the application file.  This is sometimes a ggb file.


III) Capturing a ggb file from a web page with GeoGebra.

The current preferred way to construct web pages with GeoGebra produces an all-in-one construction.  In the applet tag there is a line that gives a codebase.  That line tells the page where to find the jar files for GeoGebra.  The default sends the server to www.geogebra.org for the jar files.  There is also a line that refers to ggbbase64.  This line contains an encoding of the actual GeoGebra file.



If we capture the source of a page constructed this way, we simply save the page source as a file on our local computer and open it.


Many GeoGebra applets on the web were created with an older construction where the three conceptual parts of the web page were separately stored.  If you capture such a source page you want to make a couple of edits.

1) You want to edit the codebase line.

2) You want to open the applet in GeoGebra using the webpage approach and then export it as a dynamic webpage.  Copy the ggbBase64 line from the applet tag and use that to replace the filename line of the tag in the old page.




© Mike May, S.J., 2011

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 license, Mike May, S.J. maymk@slu.edu


You can also download this page either as a word document CapturingGeoGebra WebApplets.docx or as a pdf file CapturingGeoGebra WebApplets.pdf .


Comments (0)

You don't have permission to comment on this page.