What is preinitialization of a servlet?
A container does not initialize the servlets ass soon as it starts up, it initializes a servlet when it receives a request for that servlet first time. This is called lazy loading. The servlet...
A container does not initialize the servlets ass soon as it starts up, it initializes a servlet when it receives a request for that servlet first time. This is called lazy loading. The servlet...
ServletContext interface is a window for a servlet to view it’s environment. A servlet can use this interface to get information such as initialization parameters for the web applicationor servlet container’s version. Every web...
What does sendRedirect()? Examples What does sendRedirect() Sends a temporary redirect response to the client using the specified redirect location URL. This is a client side reDirect. When a sendRedirect method is invoked, it...
What is Inter-Servlet Communication. Technique to do Inter-Servlet Communication Examples What is Inter-Servlet Communication A process where two or more servlets communicates with each other to process the client request. A servlet can forward...
What is Session? What is Session Management? Why Use Session Management? Different ways to maintain Session. Hidden form field URL rewriting Cookies Servlet session API [ HttpSession ] Session Management Examples What is Session?...
Servlet API javax.servlet package javax.servlet.http package Examples Servlet API The Servlet API consists of: javax.servlet package contains : Interfaces Classes Exceptions javax.servlet.http package contains : Interfaces Classes javax.servlet package javax.servlet package contains following interfaces...
What is Servlets and its need? Classes and interfaces to develop Servlets Life Cycle of Servlet and its Method Steps to develop and deploy a Servlet Understanding web.xml [ a deployment descriptor ] Examples...
Introduction to J2EE Model 1 Architecture Model 2 Architecture[ MVC : Model View Controller ] J2EE as Multi Tier Architecture Terminology in J2EE J2EE Containers and its Type Application Servers Available for J2EE Components...
Recent Comments