A very simple Servlet example

This step by step Servlet tutorial provides a very simple servlet example for beginners.

The tutorial covers:

  1. How to write the servlet class.
  2. How to compile the Servlet class.
  3. How to extract the HTML form parameters from HttpServletRequest.
  4. web.xml deployment descriptor file.
  5. How to create the war (web application archive) file.
  6. How to deploy and run the sample web application in tomcat web container

J2EE web development tutorials

Step by step tutorials on web development using J2EE platform.This series of Servlet tutorials provide the learning material for begineers and intermediate J2EE developers.These are the basic Servlet tutorials which provide foundation for other Servlet and JSP tutorials.

Applet Servlet Communication Example

This tutorial explains how to send data to a servlet from an applet and receive response. Concept explained in this tutorial can also be used for applet jsp communication.

Servlet File Upload Example

This servlet file upload tutorial explains how to upload files using apache commons file upload API.

Setting up a Servlet development environment

This tutorial explains how to setup the development environment to compile, develope and deploy servlets and Java server pages (JSP).

Tutorial covers:
  1. How to install Java SDK on windows platform.
  2. How to install Tomcat web container on windows platform.
  3. How to set the JAVA_HOME, Path and CLASSPATH environment variables.
  4. How to start and shut down the tomcat server.

Overview of Servlet API Classes and Interfaces

This tutorial provides brief explanation of classes and interfaces of Servlet API, focusing particularly on the javax.servlet package.

The Life Cycle of a Servlet

This tutorial explains the Servlet life cycle.

Introduction to Java Servlets

Now you have the basic understanding of the HTTP protocol, web containers, and J2EE web application structure. Before you start learning Servlet API, this tutorial provides the basic understanding of the Java Servlets.

Understanding the structure of web applications

Servlet specification defines the directory structure for deployment and packaging of web applications. When developing web applications with Servlets and JSP you must follow the directory structure. This tutorial explains how to organize the directory structure. where to put the compiled servlet classes and jar files.

Introduction to web containers

Knowledge of any J2EE web container is required to develop a J2EE based web application using Servlets and JSP, this tutorial gives the introduction to the J2EE web container.
Syndicate content