Download presentation
Presentation is loading. Please wait.
Published byKristin Hill Modified over 9 years ago
2
CGS – 4854 Summer 2012 Web Site Construction and Management Instructor: Francisco R. Ortega Date: May 5 th,2012
3
“The most profound technologies are those that disappear” The computer for the 21st century Mark Weiser, 1999 Father of ubiquitous computing
4
Today’s Lecture – 05/05/12 We will review Java We will cover part of Chapter 1 Remember I have office hours Today!
5
Protocol What is a protocol? – an agreement between states.(reference.com) – Other definitions?
6
HTTP Protocol
7
Request Format Type of request Request Header Blank Line indicates end of request headers – In a POST request, there can be additional information sent after the blank line
8
Response Format Status Code Response Header Blank Line indicates end of respose headers
9
Mime Type Multipurpose Internet Mail Extensions – Use to decode type of content by browser – Use to specify formatting of non-ASCII characters – Most Common: MIME type/html
10
Mime Type Multipurpose Internet Mail Extensions – Use to decode type of content by browser – Use to specify formatting of non-ASCII characters – Most Common: MIME type/html
11
Markup Language Method of annotating text in a descriptive way for presentation and/or processing. Taken from “marking up” a manuscript.
12
Markup Language Examples HTML XML TeX
13
HTML Tags Singleton – A single tag that has no corresponding closing tag Paired – A tag with a starting a closing tag. The closing tag is denoted by a leading ‘/’
14
HTML Tags ( Examples ) Singleton: – Paired: – Hello World – Great Class! – BYE
15
HTML Validation (HTML 5) Simple Page Hello World
16
Layout vs Style Either placed in the html file or a css file. This books will used HTML 5 – Therefore all pages used strict HTML For example, center, font and others are not allowed.
17
Questions! Word Wrap and White Space Line Breaks What is the HT in HTML? Absolute vs Relative Reference? What is a URL?
18
Forms First Form This is a simple HTML page that has a form in it. Hobby: <input type="text" name="hobby" value=""> <input type="submit" name="confirmButton" value="Confirm">
19
Query Strings A query string is appended to a URL and carries data that is being passed to a web application It takes the format name=value The ‘?’ character is used to separate the URL from the query string. It does not form a part of the query string Pairs are separated with the ‘&’ character Example: http://www.forReal.com/test.html?country=US A&State=FL
20
More about forms and JSP We will cover the rest of chapter 1 in the video lecture. The Video lecture for Chapter 1 will be posted either Saturday or Sunday. I will be posting a Java review as well. Finished Chapter 1 and read Section 2.1 for next Class We will have a quiz next week (Chapter 1) plus one Java question (from what we covered today.)
21
Questions Any Questions
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.