dinesh Archive
In this tutorial you will learn how to use forward() method of RequestDispatcher in Servlet forward() method of RequestDispatcher forwards the request made by the client by the the resource (any of them servlet , …
The HttpServlet class request processing methods take two parameters. javax.servlet.http.HttpRequest javax.servlet.http.HttpResponse The HttpServletResponse object generates a response to return to the requesting client. Its methods allow you to set the response header and the response …
The HttpServlet class request processing methods take two parameters. javax.servlet.http.HttpRequest javax.servlet.http.HttpResponse For instance, here is the signature of the HttpServlet.doGet() method: protected void doGet( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } The purpose …
The HttpServlet class extends the GenericServlet class and implements Serializable interface. It provides http specific methods such as doGet, doPost, doHead, doTrace etc. The javax.servlet.http.HttpServlet class is a slightly more advanced base class than the …
GenericServlet class implements Servlet, ServletConfig and Serializable interfaces. It provides the implementaion of all the methods of these interfaces except the service method. GenericServlet may be directly extended by a servlet, although it’s more common …
Basics of Web- There are some key points that must be known by the servlet programmer. Let’s first briefly discuss these points before starting the servlet. These are: HTTP HTTP Request Types Difference between Get …
What is web application? A web application is an application accessible from the web. A web application is composed of web components like Servlet, JSP, Filter etc. and other components such as HTML. The web …