Java Servlets
Introduction
Overview
Servlet Life Cycle
Servlet Example
HttpServlet
HttpRequest
HttpResponse
RequestDispatcher
HttpSession
ServletContext
 
web.xml Servlet Configuration
 
Cookies
Servlet Filters
GZip Servlet Filter
Servlet Concurrency
 


Java Servlets

Connect with me:  
  Jenkov.com - News

Java Servlets is a web technology for Java. It was the first web technology for Java and many new web technologies have arrived since. Still, Java Servlets are very useful, both to know, and for certain use cases.

Java Servlets are part of the Java Enterprise Edition (Java EE). You will need to run your Java Servlets inside a Servlet compatible "Servlet Container" (e.g. web server) in order for them to work.

This tutorial on Java Servlets is not meant to be an exhaustive description of Java Servlets. Rather, it is intended to quickly get you up to speed on servlets, and to teach you the most important concepts. The rest of the servlet detail you can read in the official Java EE 6 Tutorial.


Table of Contents

Here is a list of the topics covered in this Java Servlet trail. This list (menu) is also present at the top right of every page in the trail.

  Java Servlets
Introduction
Overview
Servlet Life Cycle
Servlet Example
HttpServlet
HttpRequest
HttpResponse
RequestDispatcher
HttpSession
ServletContext
 
web.xml Servlet Configuration
 
Cookies
Servlet Filters
GZip Servlet Filter
Servlet Concurrency
 

Feel Free to Contact Me

If you disagree with anything I write here about Java Servlets, or just have comments, questions, etc, feel free to send me an email. You wouldn't be the first to do so. You can find my email address on the about page.

Connect with me:
     
Newsletter - Get all my free tips!