• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

justify answer on mvc design pattern

 
venkat lakkakula
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65119
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.
[ May 06, 2007: Message edited by: Bear Bibeault ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • 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.
 
nikita mishra
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic