Reputation: 1391
I read about the Dispatcher View pattern and it seems pretty helpful to develop simple web applications.
Can this pattern be considered a simplified MCV or a simple implementation of the MVC pattern?
Upvotes: 0
Views: 1944
Reputation: 1108742
The use of the RequestDispatcher
is at its own not necessarily considered a simplified MVC pattern. The forwarded/included JSP in turn can still use scriptlets which would then contradict the MVC ideology. Even more, the RequestDispatcher
can even be used in a JSP (view) instead of a servlet (controller).
But, on the other hand, it is true that the RequestDispatcher
is been used in the average MVC controller to forward the request/response to a view after doing the business action.
Upvotes: 1