Skip to content

Tag Archives: java-servlet

A web page is the combination of many input elements such as label, text box, checkbox, options, images, etc., It can be prepared by enclosing… Read More
The FileInputStream class is used to read the picture, and the ServletOutputStream class is used to write the image content as a response. We used… Read More
In Java, HttpSessionEvent is a class, which is representing event notifications for changes or updates to sessions within a web application. Similarly, the interface for… Read More
An object of FilterConfig is created by the web container for each filter. It can be used to read filter init parameters. Placed in web.xml… Read More
GenericServlet implements the Servlet interface and provides an implementation for all its method except the service() method hence it is abstract. GenericServlet class defines a protocol-independent(HTTP-less)… Read More
A filter is an object that is invoked at the preprocessing and postprocessing of a request on the server, i.e., before and after the execution… Read More
Servlets are the Java programs that run on the Java-enabled web server or application server. They are used to handle the request obtained from the… Read More
The Server embeds new hidden Fields in every dynamically generated From page for the client. when the client submits the form to the server the… Read More
By default, web pages are available in the English language. It can be provided in the user choice of languages by means of the “Internationalization”… Read More
Servlets provide a way to communicate with client requests and generate dynamic responses based on the request-response programming model. Servlets can respond to any type… Read More
A filter is an object that is used throughout the pre-and post-processing stages of a request. Filters are mostly used for filtering tasks such as… Read More
The web.xml file’s welcome-file-list property is used to establish a list of welcome files. If you don’t supply a file name while loading the project… Read More
Sometimes, you’ll want to know the overall number of visitors to a specific page on your website. Because the life cycle of a servlet is… Read More
As we learned in previous chapters, the Servlet life cycle will be managed by the Servlet container that is under the Web/Application server. Whenever an… Read More
When the user wants some information, he/she will request the information through the browser. Then the browser will put a request for a web page… Read More

Start Your Coding Journey Now!