• 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

justify answer on mvc design pattern

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. in mvc design pattern which all of following true
a.controler is always a servlet implementation
b.view can be a set of html files
c. model is data repository
d. all
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please read this.
[ May 06, 2007: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While we're generally opposed to just handing out answers to homework or interview questions, we don't mind helping out a bit. First, tell us what you think the answer to this question is and why, and then we'll let you know if you're on track or not.
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know its old thread but I want to know whether i am on the right track. I think the answer would be only b.

a) False. Controller can be implemented using jsps also
b) True. Set of Htmls can be cinsidered view
c) False. Model is not a data repository. It consists of business logic and Data access & storage logic.

I hope I am right.
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

nikita mishra wrote:a) False. Controller can be implemented using jsps also


Well, it can be done using JSP but doesn't mean its correct as far as MVC2 is concerned. JSP aren't mean to control the web flow. How about the complicate/delegate flow statements in JSP scriptlet.
reply
    Bookmark Topic Watch Topic
  • New Topic