servlet

Servlet in java

Servlet in Java

The Java Servlet technology provides a simple, vendor-independent mechanism to extend the functionality of a Web server. This technology provides high level, component-based, platform-independent, server-independent standards to develop Web applications in Java. The Java Servlet… 

JSP in Java

JSP in Java

JSP stands for Java Server Pages, which is a Java-based technology developed by SUN Microsystems to simplify the development of dynamic Web pages. JSP pages provide a means of separating the presentation logic from the… 

Configure Filters

Configure Filters

The web.xml file is used to configure filters to resources, such as a servlet, JSP page, or Web application. This configuration helps to process the request and response objects. With the introduction of annotations in… 

life cycle of servlet

Servlet Life Cycle

The primary reason why servlets and JavaServer Pages (JSP) outperform traditional CGI is the servlet life cycle. Servlets have a three-phase life cycle, namely initialization, service, and destruction. initialization and destruction are called only once…