(1) Servlet introduction,) Servlet Introduction
Glossary
- HTML: Hyper Text Markup Language, Hypertext Markup Language
- HTTP: Hyper Text Transfer Protocol, Hypertext Transfer Protocol
- URL: Uniform Resource Locator, unified Resource Locator
- CGI: Common Gateway Interface, public Gateway Interface
- DD: Deployment Descriptor, Deployment description file
Servlet Introduction
Java Servlet is a program running on a Web server or application server. It serves as an intermediate layer between requests from a Web browser or other HTTP clients and databases or applications on an HTTP server. Using Servlet, you can collect user input from web forms, present records from databases or other sources, and dynamically create web pages. Shows the Servlet position in the Web application:
Servlet's main tasks include reading explicit data sent by the client (browser), reading implicit HTTP request data sent by the client, processing and generating results; send explicit data to the client, and send an implicit HTTP Response to the client.