dinesh Archive

What is web application servlet?

A web application is a dynamic extension of a web or application server. There are two types of web applications: Presentation-oriented: A presentation-oriented web application generates interactive web pages containing various types of markup language …

Hello World Example in Servlet Interface

Servlets are Java classes which service HTTP requests and implement the javax.servlet.Servlet interface. Web application developers typically write servlets that extend javax.servlet.http.HttpServlet, an abstract class that implements the Servlet interface and is specially designed to …

Servlet API

The javax.servlet and javax.servlet.http packages represent interfaces and classes for servlet api. Let’s see what are the interfaces of javax.servlet package. Interfaces in javax.servlet package There are many interfaces in javax.servlet package. They are as …

Servlet Life Cycle

The life cycle of a servlet is controlled by the container in which the servlet has been deployed. When a request is mapped to a servlet, the container performs the following steps. Servlet Life Cycle …

Servlets – Environment Setup

To get Java servlets up and running requires more than knowledge about Java in general or servlets in particular: one needs to know about servers, servlet containers, and XML.Like any other Java program, you need …

JSTL fn:trim() Function

JSTL Trim function is used to remove white space from the start and end of the String. The fn:trim() function removes white space from both ends of a string. Syntax: The fn:trim() function has following …