ROGERS CADENHEAD
My Websites
Workbench
Drudge Retort
SportsFilter
My Books
Teach Yourself Java in 21 Days, Eighth Edition
Teach Yourself Java in 24 Hours, Eighth Edition
Teach Yourself C++ in 24 Hours |
Day 17: Communicating Across the Internet
Notes and Corrections
Source Files
Reader Questions
Activities
- Solution 1: RandomWeb.java, RandomWeb.class, WebButton.class, and RandomWeb.html. To see this applet in a Web browser using the Java Plug-in, open RandomWebPlugIn.html. (One word of caution: Because this applet opens randomly selected domains with three-letter names when you click a button, you may encounter sites that are adult-oriented or otherwise indelicate.)
- Solution 2: FingerServer.java, FingerServer.class, agore.plan, gwbush.plan, and rcade.plan. To run this application on a Windows system, open an MS-DOS window and type
java FingerServer at a command line. You can test the server using the Finger program you created during Day 17. Open a second MS-DOS window and use one of the following commands:
java Finger agore@localhost
java Finger gwbush@localhost
java Finger rcade@localhost
|
|