Servlets
Servlets are the core of web-application development. A servlet is a Java program that runs on the server side, either on a web server or an application server. Servlets acts as a middle layer between an HTTP server and a web client, typically a web browser. The client can either be an HTTP client or a service that runs on an HTTP server. The servlet technology is the underlying technology behind JSP, which is used to create UI pages using HTML. JSP is compiled to a servlet. When a request is made by a web client, the servlet container loads the servlet. The servlet accepts the request, processes it, and returns the response to the servlet container. The servlet container in turn sends the response to the web client that issued ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access