Publishing Applets at UIC

Mtht 420

Before posting your applet, you should have:
  1. A completed Java applet, say Applet.java.
  2. The compiled Applet.class code.
  3. An Applet.html file that you can view using a command like appletviewer Applet.html.
You will save yourself a lot of trouble if you have all of these working correctly before you start. When you are ready, perform the following steps:
  1. Start the ftp network utility.
  2. Connect to icarus.cc.uic.edu using your username and password.
  3. Change to your public_html directory on icarus. (If you have trouble, see note below.)
  4. Find your Applet.class and Applet.html files on your local machine.
  5. Copy those two files (and the Applet.java file as well, if you like) to icarus.
  6. Exit ftp.
  7. Start a web browser and view your applet using the URL http://www2.uic.edu/~netid/Applet.html, where netid is replaced with your netid. (If you have trouble, see note below.)

If you do not have a public_html directory, telnet to icarus and execute the follwing commands:

chmod a+x .
mkdir public_html
chmod a+x public_html
chmod a+r public_html
These commands will create a public_html directory and allow people to access the web pages you put in it.


If you are unable to view your web pages, first check the spelling and capitalization of your filenames. Then make sure you put them in your public_html directory on icarus, and not in the top level of your account. Then try telnetting to icarus and running the follwing commands:

chmod a+x public_html/*
chmod a+r public_html/*
These commands will allow remote browsers to read and run the files in your public_html directory.


Mtht 480