Download presentation
Presentation is loading. Please wait.
1
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
2
The Web What Happens When You Click A Link? http://www.cs.unc.edu/~mcweigle/ Browser examines the URL and determines the protocol and remote machine it must access –protocol = http –remote machine = www.cs.unc.edu (web server in the CS dept) Browser uses TCP/IP protocols to establish a connection with remote machine
3
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
4
Setting Up Your Web Page http://onyen.unc.edu 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 http://www.unc.edu/~onyen/
5
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.
6
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.