I am learning spring mvc and finding this problem very much annoying. The problem is with the path setting for the DispatcherServlet. Server cannot find the resource is coming. Basically the mapping with the controller and the path is not set properly.
Please help me to understand, what needs to be remembered when writing a spring mvc controller with @Controller annotation and @RequestMapping.