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

Like this? Share it with your network

Share

2. http, html

on

  • 340 views

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

Statistics

Views

Total Views
340
Views on SlideShare
191
Embed Views
149

Actions

Likes
0
Downloads
0
Comments
0

9 Embeds 149

http://pkbulk.blogspot.com 91
http://www.pkbulk.blogspot.com 44
http://www.pkbulk.blogspot.com.br 4
http://pkbulk.blogspot.in 3
http://www.pkbulk.blogspot.fr 3
http://pkbulk.blogspot.co.uk 1
http://pkbulk.blogspot.kr 1
http://www.pkbulk.blogspot.de 1
http://www.pkbulk.blogspot.co.uk 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

2. http, html Presentation 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