Spring Framework

MVC

Spring MVC - perequisites

In "WEB-INF" Directory:
  1. Create web.xml File
  2. Build a reference to the DispatcherServlet which can access the configuration_file.xml
    1. Add Component Scanning
    2. Add support for MVC conversion
    3. Define MVC view resolver (where to look for view files)
  3. Set up an url-mapping, to define to which request parameter the dispatcher is listening to

Diskussion