Intro To Servlets
Intro To Servlets
A Good Book
What Is A Servlet?
Advantages of Servlets
What Is A Servlet Container?
Typical Use of a Servlet
Servlet Interfaces and Classes
The Servlet Life Cycle
The HttpServlet Life Cycle
HTTP Requests
HTTP GET
HTTP POST
Hypertext Transfer Protocol (HTTP): Request Types
HTTP Responses and Headers
HTTP Response Codes
Typical Servlet Structure
Example Servlets
Web Applications
The
web.xml
Configuration File
Configuration File Example
Deploying Servlets
Deploying Servlets Example
Deploying Servlets Example (cont'd)
Servlets that Receive Form Data
Form Data and Parameters
Form Example
Servlet Configuration
Servlet Configuration Example
Servlet Configuration Example (cont'd)
Servlet Contexts
Servlet Context Example
Virtual Directory Translation
Virtual Directory Translation Methods
Virtual Directory Translation Example
Servlets and JDBC
Servlet/JDBC Example
Servlet/JDBC Example (cont'd)
File Uploads
True File Upload Example
Sending Binary (Non-Text) Information to Clients
Sending Binary Information Example
Response Redirection
Response Redirection Example
Request Delegation and Request Scope
Request Delegation Example
Servlet Event Listeners
Different Scopes and Their Events
Session Scope
Example: Tracking Number of Concurrent Users