• Like
  • Save
2. http, html
Upcoming SlideShare
Loading in...5
×
Uploaded on

Introduction of JSP (Java Server Pages) Lecture # 2 …

Introduction of JSP (Java Server Pages) Lecture # 2
Something About HTTP, HTML with respect to the JSP

More in: Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
189
On Slideshare
0
From Embeds
0
Number of Embeds
10

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. IMRAN DAUDFOUNDATION UNIVERSITYRAWALPINDI CAMPUSImran DaudFURCWeb EngineeringHTTP, HTML
  • 2. HTTP HTTP functions as a request-response protocol inthe client-server computing modelClient Application at ServerHttp RequestHTML file/ returns required function result
  • 3. Request Methods Head (Head = GET but without response body) GET Requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect. Data appears in url. POST Submits data to be processed (e.g., from an HTML form) to the identifiedresource. The data is included in the body of the request. This may result in the creation of a new resource or the updates of existingresources or both. Data appears in message body. Used when updating or storing data. DELETE Deletes specified resource
  • 4. HTTP session HTTP session is a sequence of network request-response transactions HTTP client initiates a request by establishing aTransmission Control Protocol (TCP) connection to aparticular port on a server (typically port 80) HTTP server listening on that port waits for a clientsrequest message. Upon receiving the request, the server sends back astatus line, such as "HTTP/1.1 200 OK", and amessage of its own.
  • 5. HTML<html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>
  • 6. <table border="1"><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table>Apples 44%Bananas 23%Oranges 13%Other 10%
  • 7. References en.wikipedia.org