In terms of design pattern, which one follows the Model View Controller (MVC) more closely?

  • Both follow MVC equally
  • JSPs
  • Neither follows MVC
  • Servlets
JSPs (JavaServer Pages) follow the Model-View-Controller (MVC) design pattern more closely than Servlets. JSPs provide a clear separation of concerns with HTML as the view, JavaBeans as the model, and tag libraries for controller logic.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *