Answer Posted / ashish
MVC stands for model view controller.If you take a Struts
web application then view consists of JSP . Its only to
show the client the view part not any other part. The
Controller will the action Servlet. Action Servlet
basically controlls the request from the view part and
calls respective Action class for business logic processing
and fetching data from the database.The model part consists
of Action class and helper class. It purely consists of the
business logic as well as the interface to access the
layer. The advantage of this pattern is Loose coupling.
Lets say you want to add the text field in JSP. That will
not required to change your Action class or Action Servlet.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
what are the creational design patterns
Can we have this pattern implemented using static class?
How do you choose a design pattern?
What are the design patterns you know explain?
What are the types of participants of the prototype design pattern you will get?
What is the difference between factory and strategy design pattern?
What is singleton design pattern in java?
Is mvc a software design pattern?
What is the behavioral design pattern?
What is mvp design pattern?
What are creational design patterns?
What is architecture and what is design?
Is singleton bean thread safe?
What is difference between function oriented design and object oriented design?
Explain what is good design?