tags:

views:

40

answers:

1

Hi All,

I want to know about the controller in struts MVC architecture. Does struts-conf.xml file is a controller. I know that it is a part of controller, but someone is saying that it is a controller and at what extend it is true. Please explain it.

Thanks Vinay

A: 

Struts uses the front controller pattern (struts controller) and the command pattern (actions). Strut-config is a configuration file, not a controller, you use that file to configure the struts controller and the whole mvc framework.

svachon