Registration Form using JSP and Servlet



Registration Form using JSP and Servlet

Registration Form using JSP and Servlet

Making of Registration Form using JSP and Servlet. JSP technology is used to create web application just like Servlet technology. It can be thought of as an extension to Servlet because it provides more functionality than servlet such as expression language, JSTL, etc.

Servlet is a java program that runs inside JVM on the web server. It is used for developing dynamic web applications.
Before we proceed further lets understand what is dynamic web application? A web application can be described as collection of web pages (e.g. a website) and when we call it dynamic, it simply means that the web pages are not same for all the users, web pages would be generated on server side based on the request made by client(user’s browser).

Here I’m using RequestDispatcher interface which provides the facility of dispatching the request to another resource it may be html, servlet or jsp. This interface can also be used to include the content of another resource also. It is one of the way of servlet .

The methods I’m using over here are :

public void forward(ServletRequest request,ServletResponse response)throws ServletException,java.io.IOException:Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.

public void include(ServletRequest request,ServletResponse response)throws ServletException,java.io.IOException:Includes the content of a resource (servlet, JSP page, or HTML file) in the response.

May you get the precise knowledge of making the Registration Form by watching this video, stay connected for more videos like this !💯
till then Happy Coding 🙂

Comments are closed.