Hi
The controller is nothing but the ActionServlet (org.apache.struts.action.ActionServlet) which redirects and regulates the flow. If required you can override it. It is configured in web.xml as follows.
<
servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
</servlet>
.....
....
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
<servlet-mapping>
Whenever a request which comes with a *.do at the end (ex.
http://localhost:8080/myStrutsApp/login.do) the container invokes the Struts ActionController as per the configuration.
does that clarify your main doubt?