Java-capable browsers, on the other hand, must download the JavaSketchpad applet so that it can run inside your Web browser. Older browsers don't understand Java, so they give an error message and the process stops. When your browser receives this two-part description, it first decides whether it is capable of displaying Java applets or not. ![]() The Web page provides your browser with a reference to the JavaSketchpad applet in the form of a (relative) URL that identifies the directory on the Web server where the applet is located. This description contains two parts: the geometric construction of the triangle itself (written in JavaSketchpad's internal construction language) and a reference to the JavaSketchpad applet, which is the software technology that your Web browser needs in order to visualize the triangle described by the geometric construction. In this example, the triangle.htm file may contain text or pictures, but the important part of its contents for our purposes is that it contains a JavaSketchpad description of a triangle. (Whether you specify the location of the host Web page by typing in a URL or by linking to it from some other page is immaterial the JavaSketchpad process begins once a connection is forged between your Web browser and a Web server's Web page.)Īn arbitrary HTML file on the server may contain text, colors, images, etc., all of which will appear on your browser as the page is loaded. In this case, the host Web page is the file triangle.htm, which is located on the server. When you visit this page, your browser establishes a connection with a remote machine (the Web server), using a URL to specify both the name of the host machine on the Internet and the name and location of the Web page, located on that machine, that you wish to view. The right side of the illustration represents your Web browser, which is viewing a Web site that contains a JavaSketchpad triangle. ![]() The following illustration diagrams the typical set of interactions required to create a JavaSketchpad (JSP) triangle in your Web browser. ![]() When you look at a Web page that includes a JavaSketch, many components are interacting behind the scenes to bring Dynamic Geometry to your desktop.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |