HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Java Servlet is a program running on the Web server or application server, which is used as an intermediate layer on the database or application server and HTTP requests from a Web browser or other HTTP client between.
Use Servlet, you can collect user input from web forms, showing records from a database or other source, you can also create dynamic web pages.
Java Servlet and under normal circumstances the use of CGI (Common Gateway Interface, Common Gateway Interface) programs can be implemented to achieve similar results. But compared to CGI, Servlet has the following advantages:
The following figure shows the location of the Web Servlet application.
Servlet performs the following major tasks:
Java Servlet is running on the web server with support for Java Servlet specification interpreter Java class.
Servlet can usejavax.servlet and javax.servlet.httppackage creation, it is a standard part of the Java Enterprise Edition, Java Enterprise Edition supports large-scale development projects extended version of the Java class libraries.
These classes implement Java Servlet and JSP specifications. In writing this tutorial, when both the corresponding versions are Java Servlet 2.5 and JSP 2.1.
Java Servlet just like any other Java class has already been created and compiled. After you install the Servlet package and add them to the classpath Classpath on your computer, you'll be able to compile the Servlet by JDK Java compiler or any other compiler.
Next, the tutorial will take you step by step to set up your Servlet environment, in order to start subsequent Servlet use. Therefore, please fasten your seat belts, we together with the start Servlet learning journey! I believe you will like this tutorial.