Bookmark this tutorial

If you like our site please bookmark this and help us


Bookmark and Share

Introduction to Java Servlets

This tutorial gives basic introduction to 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.

Overview of HTTP protocol

Hyper text transfer protocol (HTTP) is commanly used to communicate with web applications. Before you start learning web application development using Servlets and Java Server Pages, you need to have the basic understanding of the HTTP protocol. Most of the time you will write servlets that processes request made over HTTP protocol.

This tutorial provides basic overview of HTTP protocol. It provides information about the most frequently used HTTP request methods GET and POST, difference between HTTP GET and HTTP POST request methods and explains query strings.

response.sendRedirect() - Redirect to another Servlet or JSP

This example shows how to redirect to another URL from a servlet and explains what is the difference between redirect and forward

Forwarding request to Servlet or JSP

This servlet example explains how to forward request to a Servlet or JSP.

Prevent caching of JSP/Servlet output

This example explains how to prevent browser from caching Servlet/JSP output.

The JSP Include directive explained

The JSP include directive explained with an example.
Syndicate content