Card 120 / 125: You are architecting a web application using the famous MVC design pattern to be inline with the separation of concerns principle. Your model is pure java beans, controller is implemented with Servlets technology, and the View is realized as JSP pages. What shouldn't a Servlet class in your application do according to the MVC model guidelines ?
A)
render a beans collection as an HTML table
B)
dispatch the incoming user web request to a certain page based on user's credentials
C)
query the databank
D)
validate the user input values
E)
look up an attribute from the request or session scope
Answer:
A) render a beans collection as an HTML table
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |