Spring 4 MVC Form handling
Topics
- 2-phase form submission handling
- Command/form objects
- @ModelAttribute
- Validation
- Data binding
- Form tags
- Redirection (in form submission handling)
2-Phase Form Submission Handling
Form Display & Submission Handling
- It is a two-phase process
- Phase 1: Handle initial form display request (GET request)
- (1.1) Creation and initialization of Command object
- (1.2) Display the form page
- Phase 2: Handle the form submission (POST request)
- (2.1) Data binding and type conversion
- (2.2) Validation
- (2.3) Business logic handling with input data
- (2.4) Redirect
You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.