• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP Model 1

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Is JSP Model 1 an MVC architecture
Regards,
aakash
 
Ranch Hand
Posts: 250
Python Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No its not. Model 1 is the page centric approach in which your JSP page alone processes the incoming request and replies back to client. This leads to large amount of Java code embedded within your JSP page, which doesn't matter for a programmer though but proves bad for the HTML designers who might maintain your page.
Model 2 represents a framework based on the Model-View-Controller (MVC) system. This system consists of a "Model" where the business logic resides, a "View" which is generated by JSP pages and a "Controller" which is a Servlet or a collection of Servlets to provide centralized process handling. You may like to see this for details.
[ February 14, 2003: Message edited by: Debashish Chakrabarty ]
 
Can you shoot lasers out of your eyes? Don't look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic