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.
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.
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.