Please send your Questions & Answers or Feedback to ""

What's the flow of requests in Struts based applications?

Ans: Struts based applications use MVC design pattern. The flow of requests is as follows:

User interacts with View by clicking any link or by submitting any form.

Upon user’s interaction, the request is passed towards the controller.

Controller is responsible for passing the request to appropriate action.

Action is responsible for calling a function in Model which has all business logic implemented.

Response from the model layer is received back by the action which then passes it towards the view where user is able to see the response.

Related Posts Plugin for WordPress, Blogger...
Flag Counter