Exercise 2

Create annotation based Spring MVC application which has following feature:

    A Login form having 2 text field - userName , userPassword

    Once User clicks on the submit button data should be send to UserController ,

    UserController will populate the data inside the User class .

    UserController will pass user object to view (index.jsp).

    View will display “Welcome <user> to stackroute”.