What is MVC Architecture?
Answer Posted / sanjay rathod
The basic reason behind the MVC Model is to seperate the
business logic from presentation loic.
In MVC I-> The Jsp is going work just like the Controller
because request and response is get handled by JSP itself
and only model i.e database part is different than view and
controller,means the overall MVC I architecture contains
only two componants.
In MVC II->The model,view and Controller are seperated from
each other,i.e business logic and presentation logic are
seperate and database part are different from each other.
Model->Database,java bean,EJB
View-->JSP,HTML Pages
Controller-->Servlet Controller(Action Servlet)
Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is the purpose of @intrangefieldvalidator annotation?
What is the purpose of action tag in struts.xml?
What is the use of reset method of ActionForm class?
How we can configured action mapping in struts?
Will the struts tags support other markup languages such as wml ?
What are the sections into which a strut configuration file can be divided?
Explain about tiles?
What are interceptors in struts 2?
What’s the utilization of resource bundle properties file in struts validation structure?
When should we use SwtichAction?
What is the difference between plain-validator and field-validator?
What is the purpose of @results annotation?
What is front controller in struts2?
Give an example of validates method used to avoid errors.
What is the use of namespace in action mapping in Struts2?