Date And Time in all tires of Java Web Application

Most Java Web application Developers have to deal with Date and Time values with different time-zones and properly handling time-zones to make sure...

Handling exceptions in Java Web Servlet/JSP Applications

When a servlet generates an error developers can handle those exceptions in various ways. For example, when user tries a URL that does not map to a servlet the user typically gets a 404 page. With the error listing in the deployment descriptor, we can handle those exceptions. In this tutorial, we will handle these exceptions in the Servlet.

An exception is an event, which occurs during the execution of a program, which disrupts the normal flow of the program’s instructions. The process of converting the system error messages into user-friendly error messages is known as Exception Handling.