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
Is struts action class singleton?
Explain struts.devmode?
What are the features of struts 2?
What is lookupdispatchaction?
What is the purpose of @emailvalidator?
Give an alternative way to protect jsp’s with not much features from direct access.
How struts2 supports internationalization?
Can a reducer dispatch an action?
Can we have more than one struts-config.xml file for a single struts application?
What does it cost to replace struts?
What are the life cycle methods of interceptor?
What are the benefits of Interceptors in Struts2?
How can we write our own interceptor and map it for action?
What is discontinuous strut?
What is the use of interceptor?