To hand in the assignment, zip your webapps directory and upload
it via the web:
Submitting
homework on-line via the Web.
Be sure that all your files and subdirectories are included in the zip
file.
Do not modify your files on ocelot until after your assignment has been graded.
Your are to create a webapps folder for my Tomcat server.
Notify me via email when this is done, so I can install your host on Tomcat.
You must wait until you receive my response to your email before you can
continue. In the response, you will be given your host name. It will be something
like
studentXX.cgs4825.cs.fiu.edu
Create a file named index.html in the ROOT directory of your webapps folder. Edit the file and enter your name and a current email address in it.
Access your ROOT web app on my Tomcat server. The URL will be something
like
http://studentXX.cgs4825.cs.fiu.edu:8080/
Create a package with your user name in the classes directory of the ROOT web app.
Create a servlet in this new package that will display your name, your user name, and a current email address.
Modify the CLASSPATH in your .cshrc file so that servlets can be compiled on ocelot.
Compile the servlet on ocelot.
javac JavaFile.java
to compile JavaFile.java
Set the permissions on all files
so that you have read/write access, the group has no access, and other has
read access.
Set the permissions on all directories so that you have read/write/execute access,
the group has no access, and other has read/execute access.
Run the servlet from your web app on my Tomcat server. The URL will be something
like
http://studentXX.cgs4825.cs.fiu.edu:8080/servlet/your-user-name.servletName