What is the main difference between Mvc1 and Mvc2 Architecture??
Answer Posted / harish kumar
In model1 only JSP and Beans are involved . JSPs are used
for logic and presentation and JSP decides the flow of
control. beans work as model.
Whereas in Model2 there is servlet that act as a front
controller i.e. all the requests are handled by the front
controller and forwarded to JSPs or model . therefore
presentation and business logic remains separate in model2.
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
How the exceptions are handled in struts?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What is the use of namespace in action mapping in Struts2?
What configuration changes are required to use Tiles in Struts?
Can we have multiple struts config files in a single web app?
Why are frameworks used?
Why we use struts over servlets?
Which servlet does the struts framework use?
What is execute method in struts?
How to explain Software Bank Loan descriptions
How we can configured action mapping in struts?
How to use forward action to restrict a strut application to mvc?
What does action do in struts?
What is the apache struts vulnerability?
What configurations are stored in struts configuration file ?