What happens when you click on SUBMIT button
[Spring MVC] ??
1. When you click on submit the request goes to web.xml
2. Spring has a special servlet called as dispatcher servlet[front controller]
3. From dispatcher servlet, it will go to the corresponding Controller
4. From controller, it redirects to business object and performs validations
if it passes all the validation it goes to Data access layer
else returns back to the user
5. From DAO it goes to DB
Dispatcher servlet >> vo >> controller >> BO >> DAO >> DB Validations if pass goes to DAO