The Web HTTP request HTTP response Your Machine Web Server Web browser sends a separate request for each object (e.g., embedded image) on the web page Requests are usually much shorter than responses HyperText Transfer Protocol
The Web What Happens When You Click A Link? Browser examines the URL and determines the protocol and remote machine it must access –protocol = http –remote machine = (web server in the CS dept) Browser uses TCP/IP protocols to establish a connection with remote machine
The Web What Happens When You Click A Link? Once connection established, send HTTP message GET specifying page to access –GET ~mcweigle/index.html Remote machine sends a copy of page to your browser using TCP/IP Your browser receives and displays its contents
Setting Up Your Web Page Choose "Subscribe to Services" Choose WWW –creates a public_html folder in your AFS space (H: drive) Anything you put in your public_html folder will be accessible at
index.html Use Notepad to create index.html –should be saved in your new public_html folder Sample: My Web Page My Web Page Welcome to my web page! I'm a student at the University of North Carolina at Chapel Hill.
index.html Another Sample My Web Page My Web Page Welcome to my web page! I'm a student at the University of North Carolina at Chapel Hill. In Spring 2004, I took COMP 14. Check out the awesome Blackjack applet I wrote.