Why servlets are used as controller?

Showing Answers 1 - 1 of 1 Answers

Deepti Koila

  • Aug 25th, 2006
 

Servlets are used as controllers as it recieves the request from the browser and makes the decision where to send the response.

with struts the controller isa command design pattern implemnted as a servlet.

Creates any beans or objects used by the JSP.Decides epending on the user actions, which JSP page to forward the request.

The struts-config.xml file configures the controller.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions