HTTP & HTTPS Basics
Learn HTTP & HTTPS Basics (Intro to Web & Servlets, JSP Servlets) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is HTTP? • HTTP (HyperText Transfer Protocol) is a communication protocol used between client (browser) and server. • It is used to transfer web pages. • Works on Port 80 by default. • It is stateless (each request is independent). How HTTP Works • Client sends HTTP request. • Server processes request. • Server sends HTTP response.