Grading _________ Webserver : 15 points total dynamically load Print, Count, Blocker: 5 dynamically load other servlet: 10 MultiThreading : 10 points total including correct synchronization Print : 25 points total text file: 5 html file: 10 java file: 5 File.separatorChar not allowed: 5 Count : 20 points total Show files that exist for Print, don't exist, and have File.separatorChar in them Blocker : 20 points total cs/http://www.cs.umd.edu/ ==> blocked : 6 csnews/www.cnn.com/ ==> not blocked : 7 ilikeweapons/http://www.ai.mit.edu/~shivers/autoweapons.html/ ==> not blocked: 7 ___________ Running the Tests ___________ 1. Testing the server using ServerTester.java: java ServerTester XXXX YYYY ZZZZ XXXX is any string you want as your name (used in the output of the test) YYYY is the machine's domain name where your server is (already) running ZZZZ is the port # With sample output: -------------driver-------------- ......test dynamic loading inside run ??? ....test multiThread HTTP/1.0 200 Content-Type: text/plain a.txt 2 ------------------------------ 2. Testing the servlets in general For ServletTester, just test it yourself with a web browser. You don't really need to use ServletTester.java - it's really just a program to redirect input and output. 3. Testing the Count servlet using CountTester.java java CountTester Whether or not you get an extra exception depends on whether or not you put the file a.txt in the directory where your server is running Sample output ------------------------ ???: java.lang.IllegalArgumentException: Could not open nonsense.html ???: java.lang.IllegalArgumentException: Security exception for file temp/c.txt HTTP/1.0 200 Content-Type: text/plain a.txt 3 nonsense.html 1 temp/c.txt 1