Java
Sketchpad
CTSE 7970-002, Summer 2001
You can publish interactive
GSP pages!
First, go to the Key
Press Download Center and follow the directions there:
- In the first step, you
download a folder called "JSP". You will need to unzip it. Then
use an FTP client to upload the ENTIRE FOLDER to your public_html folder.
- In the second step, you
download the conversion program, either for Windows or Mac. This also needs
to be unzipped.
Second, open the "GSPtoHTML"
converter program, then open the sketch you want to convert. Under File, choose
Save as HTML. Give it a proper file name (with .html suffix) in a useful location.
You can then upload that
file to your Web folder and link to it from a Web page.
- NOTE: The file must be
located in public_html, which is were you put the JSP folder above.
Alternatively, you can embed
it in a Web page shown here:
To do this:
- Put a note at the place in the
file where you want to put the sketch, such as "PUT IT HERE".
- Use a text editor (such as SimpleText
or Notepad) to open the HTML file created by GSP.
- Select the information beginning
with <APPLET ... and ending with </APPLET>. Copy it onto the clipboard.
- Use a text editor to open the
file in which you want to put the sketch. Delete your note and paste in the
text from the other file in that location.
- In the text following <APPLET
..., you can adjust the height and width of the window.
- As before, this file must be in
public_html, or in the same folder as the "JSP" folder.
Good luck!