Home » http

Tag Archives: http

Java Servlet Session Management Example

We all know that HTTP is a stateless protocol i.e. all requests and responses are independent. But sometimes developers need to keep track of the client’s activity across the multiple requests. In this tutorial, we will see how to achieve the Session Management in Servlet Java programming. 1. Introduction Session tracking or Session management is an important feature of the ...

Read More »

Java Servlet HTTP Response Headers Example

Servlets are modules of the Java code that run in a server application to answer the client requests. In this tutorial, we will explain and show you how to use the HTTP response headers in the Servlet page. 1. Introduction Servlet is a Java program which exists and executes in the J2EE servers and is used to receive the HTTP ...

Read More »

Java Servlet HTTP Request Headers Example

Servlets are modules of the Java code that run in a server application to answer the client requests. In this tutorial, we will explain and show you how to display the HTTP header information of a request in the Servlet page. 1. Introduction Servlet is a Java program which exists and executes in the J2EE servers and is used to ...

Read More »

Scala HTTP Example

In this Example series, we will see how to work with HTTP (Hyper Text Transfer Protocol) through a Web Application in Scala using Scalatra and Scalate. The following table shows an overview of the entire article.                 Table of Contents 1. Pre-Requisites 2. Environment 3. HTTP 3.1 What is HTTP 3.2 HTTP Request ...

Read More »

Java BufferedInputStream Example

In this example we will discuss about BufferedInputStream class and its usage. The BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods. BufferedInputStream extends FilterInputStream, which simply overrides all methods of InputStream with versions that pass all requests to the contained input stream. The BufferedInputStream class exists since ...

Read More »