• Post Reply Bookmark Topic Watch Topic
  • New Topic

EPractice Lab quiz 1: which one is the controller in MVC

 
Himai Minh
Ranch Hand
Posts: 1400
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Select the controller component is used in MVC-1 architecture?
a . servlet
b. JSP
Given answer is b.


But I think servlet is the controller while JSP is view.
I think the answer should be a.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 2791
181
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In MVC-1 (as opposed to MVC-2) the JSP is the controller.

Check MVC-1 architecture
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!