ServletContext Interface ServletContext Interface Usage of ServletContext Interface Methods of ServletContext interface How to get the object of ServletContext Syntax to provide…
Java Servlet Tutorial
Get vs. Post There are many differences between the Get and Post request. Let’s see these differences: GET POST 1) In case…
ServletContextEvent and ServletContextListener ServletContextEvent and ServletContextListener Constructor of ServletContextEvent class Method of ServletContextEvent class Methods of ServletContextListener interface Example of ServletContextEvent and…
ServletConfig Interface ServletConfig Interface Methods of ServletConfig interface How to get the object of ServletConfig Syntax to provide the initialization parameter for…
ServletRequest Interface ServletRequest Interface Methods of ServletRequest interface Example of ServletRequest interface Displaying all the header information An object of ServletRequest is…
Displaying all the header information in the servlet Displaying all the header information in the servlet Syntax of getHeaderNames() method Syntax of…
HttpSessionEvent and HttpSessionListener HttpSessionEvent and HttpSessionListener Methods of HttpSessionListener interface Example of HttpSessionEvent and HttpSessionListener to count total and current logged-in users…
HTTP Requests The request sent by the computer to a web server, contains all sorts of potentially interesting information; it is known…
HTTP (Hyper Text Transfer Protocol) The Hypertext Transfer Protocol (HTTP) is application-level protocol for collaborative, distributed, hypermedia information systems. It is the…
Server: Web vs. Application Server is a device or a computer program that accepts and responds to the request made by other…