Java Servlets it Java technology for creating the dynamic web applications. Java Servlets are server side components in Java that runs on Servlet enabled web server such as Tomcat, Jetty, Websphere etc.. Java Servlet is much faster then CGI and Perl since it runs in the same JVM. In case of CGI and Perl separate memory space is allocated for execution of the program which reduces it's performance.
For running the Java Servlet you can download the latest version of Tomcat server and install on your computer. It's much easier to use Tomcat for learning Java Servlet. These step-by-step tutorials will teach you Java Servlet and impart the knowledge necessary for developing and testing Java Servlet. After learning these tutorials you will be able to start using Java Servlet in your web projects.
In this section you will find several tutorials of Java Servlet.
First let's understand about web and web applications.
After understanding the basics of web and web application development we will learn about the Servlet technology of Java. The Servlet technology helps the developer to write dynamic web applications. JSP is also compiled into Servlet before it is executed on the container.
Let's get started with the Servlet technology. You can learn Java Servlet here with help of example programs given below:
response.SC_OK,response.SC_NOT_FOUND etc..)values to return process status to the browser.
Recommend the tutorial