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…
-
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…
-
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…
-
Servlet Container It provides the runtime environment for JavaEE (j2ee) applications. The client/user can request only a static WebPages from the server.…
-
Website Website is a collection of related web pages that may contain text, images, audio and video. The first page of a…
-
Content Type Content Type is also known as MIME (Multipurpose internet Mail Extension)Type. It is a HTTP header that provides the description…