In MVC architecture, how does a servlet interact with the model to process business logic?
- Servlets communicate with the model through JavaBeans or other business logic components.
- Servlets directly manipulate the model by interacting with the database.
- Servlets have no interaction with the model in MVC.
- Servlets use JSPs exclusively to handle business logic in MVC.
Servlets interact with the model by communicating through JavaBeans or other dedicated business logic components to process business logic in an MVC application.
Loading...
Related Quiz
- What is two-phase commit protocol in the context of transaction management?
- Filters can be used to manipulate the __________ and __________ before they reach a servlet or JSP.
- The __________ method is used to initialize the filter with configuration parameters.
- How does asynchronous processing affect the servlet's lifecycle?
- Which method in a filter is responsible for cleaning up resources when the filter is taken out of service?