Author: Prasad Kharkar

Prasad Kharkar is a java enthusiast and always keen to explore and learn java technologies. He is SCJP,OCPWCD, OCEJPAD and aspires to be java architect.

RequestDispatcher include method

RequestDispatcher include Hello, continuing the previous article, we will learn about RequestDispatcher includemethod. Why is it needed? The forward method redirects to another resource which is called through a resource. The response of calling resource is not sent to the client.…

RequestDispatcher forward method

RequestDispatcher forward : Hello, we are going to learn about RequestDispatcher forward method in servlet API. Why is it needed? The need may arise such that when a request is made for some specific resource, and the resource cannot handle the…

database module in jboss 7.1

Hello, we are going to learn how to create a database module in jboss 7.1. Because of modular architecture for libraries in jboss 7.1, libraries need to be added as modules. We will learn how to create database module in…

Filter order in servlets.

Hello, In the previous article we learned about filters in servlets. This part will deal about the order of execution of filters. As per previous tutorial, Create HelloServlet :- Our resource that will be requested LoggerFilter :- Just a simple…

Filter in servlets

Hello, till now we have learned about listeners in servlets. This article will help understand the filter in servlets. What is the need? We may need to log the requests coming for resource Validate the data in request before sending…

Init parameters in servlets

Hello, In this article we are going to learn about init parameters in servlets and how to use them in java web applications. What is the need? Sometimes we may have a requirement that a value keeps changing time to…

Servlet listeners : ServletRequestListener

In the previous part of this series we learned about HttpSessionListener which is used to keep track of HttpSession lifecycle events i.e. session creation and session destruction. This part will cover ServletRequestListener which is used to listen to lifecycle events for a…