- Controller will take care of the web browser activities.
- Manages the flow between pages.
- It controls the UI behavior.
- Define how your java beans behave.
- Classes subclass OAControllerImpl.
- OAPageBean is the main OA Framework page processing class.
- Process Request (HTTP get).
- Process Form Request (HTTP post).
- Process Form Data.
Process Form Request: This will handle HTTP post. Process form request to perform any actions after loading the page.
Process Form Data: This page is invoked upon a browser ‘post’. During this phase the framework will automatically applies changes back to the underlying view objects. Rarely custom code is required in this phase. If exceptions are thrown during this phase the phase is skipped and the page redisplays with the error message.
Clear explanation about MVC is in one image.
Read about parameters in Controller
No comments:
Post a Comment