Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 190151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:13:55+00:00 2026-05-11T16:13:55+00:00

just i want to know What is the actual difference between MVC and MVC

  • 0

just i want to know What is the actual difference between MVC and MVC Model2 in the development

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:13:55+00:00Added an answer on May 11, 2026 at 4:13 pm

    To illustrate the previous answers (and add explanation from this article):

    MVC2 is an abuse of language referring actually to the JSP Model 2 architecture, as opposed to JSP Model 1:

    The first Java technology for server-side web development was the servlet.
    Writing applications with servlets was very similar to writing CGI applications in Perl in that all of the output had to be built up as Strings from within Java code.
    This was very tedious and error-prone. It also made it very difficult for web designers with no Java experience to alter the look and feel of the pages generated by servlets.

    alt text
    (source: javaworld.com)

    Then came JSP. JSPs, like Microsoft ASPs and like the popular scripting language PHP, treat everything as template text, but allow the insertion of Java code into tags called scriptlets and JSP expressions.
    This allowed people to work on server-side applications just as they would with the other popular scripting languages but it had a couple of drawbacks.

    • There was no separation of concerns.
    • One script would hold database code, business logic, HTML markup and any javascript code needed for the final page rendering.
    • Code reuse was difficult as was automated testing.

    This came to be known as “Model 1” JSP programming.

    MVC or the Model View Controller pattern was a common technique for separating the various concerns in GUI code invented by Trygve Reenskaug, working on Smalltalk for Zerox.

    At some point it became clear that this technique could be adapted to Java EE applications to achieve the same level of separation.
    Doing so involves writing the Model layer as Beans or Plain Old Java Objects (POJOs), using servlets as the Controller, and then, when all the heavy lifting is done, forwarding to a JSP to format and markup the results.
    Servlet/JSP applications written using and MVC architecture came to be known as Model 2 JSP programming.

    alt text
    (source: javaworld.com)

    Because this pattern existed in a different form before being used in servlet/JSP applications, it was sometimes referred to as “MVC2”. This name led to some confusion as it implied that there is an MVC1 for servlet applications, which there is not.
    It is sufficient just to say MVC.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just want to know what is the actual difference between private and protected
I just want to know the actual difference between android dev phone, android nomral
I just want to know if is possible to calculate the diference between two
Just want to know if publishing an application on Google play is allowed using
Just want to know how to read an attribute of a parent node from
I just want to know why both the paint and draw methods are used
i just want to know, how to write Code behind(Hyperlink1_Click()), for the hyper link
I just want to know how to access an array in SMARTY that have
I just want to know how to code a animation like the one on
I just want to know if it is possible for an iPad and iPhone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.