Java Web (I) servlet details!!
This article is a little far from the last one. It's been about two months. I spent a year at home. Ha ha ~ now start picking it up again.
--WZY
1、 What is a servlet?
The process of processing request and sending response is completed by a program called servlet, and servlet is derived to solve the problem of realizing dynamic pages. The premise of understanding this is to know something about HTTP protocol and B / S mode (Browser / server).
B / s: Browser / server. The browser accesses the server through the website, such as Baidu. Enter www.baidu.com in the browser COM, at this time, the browser will display Baidu's home page, so what is the specific process and steps? Let's take a look at HTTP requests and responses
Prerequisite knowledge: need to understand flow. If you don't know, you can take a look at the IO stream summary article