Lab 3 asks you to create a web site that demonstrates your applet solutions. These notes are intended to help you with some of the practical details.
The lab itself points you toward Information Management resources that help you create a web page. Start there.
Create a subfolder (subdirectory) within your www folder. An html file may only be viewed by others through a browser (such as netscape) if the html file is located within the www folder (or its subfolders).
Place the following html files within the subfolder:
An html file that summarizes the five steps of the lab, and points toward the other htmls that demonstrate you applets. sample.html provides an example.
For each step in the lab, create an html file that includes the "run applet" directive (the html tag that begins with <applet>).. In the sample.html file, the applet html files are called Step1 - Step5. You may call them whatever you like, but your version of the sample.html file must point to the proper files. Note that you have probably either created or adapted .html files that were provided in the lab. You should not need to rewrite these from scratch. Castles.html, and ManySquares.html are examples of html files that demonstrate steps in the lab.
(OPTIONAL!!!! ) You may want to include an html version of your lab report. Word allows you to save a file as an HTML!
You can edit "raw" html. Simply open the .html file in an editor such as emacs. A more practical tool for editing html is "FrontPage". This tool is installed on the Macintosh computers in the Mac/Sparc Lab. Select the application from the Microsoft Puzzle icon in the upper left corner of the window.
NOTE WELL!!! In order for html files (or any files for that matter) to be accessible to others via the web, the files must have their protection permissions properly set. As the lab states: changing the modification code to 755 for all files will do this. Be aware that when you recompile a .java file the corresponding .class file will appear with permission 700 rather than 755. You will have reset the permission to 755 by hand.