A web application is a server-side application. It?s a collection of servlets, Java Server Pages , HTML document and other web resources such as image files and other data
PHP coders use .htaccess to redirect http request to new pages, but in java we will be using a servlet filter to take care of 301 redirection

How-to articles & Answers