GreetUser.java

Controller class handles requests mapped to URL "/greetuser/{username}". Returns a String view name and later it will be resolved to a specific view i.e. JSP file using UrlBasedViewResolver servlet.