Struts and Model View Controller (MVC)
Struts follow Model View Controller Architecture. Components is divided based on MVC.
Controller :
The ActionServlet and the collaborating classes are RequestProcessor, ActionForm, Action, ActionMapping and ActionForward in in Controller category.
ActionServlet :
The central component of the Struts Controller is the ActionServlet. It is a concrete class and extends the javax.servlet.HttpServlet. It performs two important things.
1. On startup, its reads the Struts Configuration file and loads it into memory in the init() method.
2. In the doGet() and doPost() methods, it intercepts HTTP request and handles it appropriately.
View :
The View category contains utility classes ? variety of custom tags (html,bean,logic) and JSP.
Model :
Struts does not offer any components in the Model Category. Your Action class contains business logic may be model.
| Answered By : |
null Replied Date : Jan 8 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Dec 10 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Dec 9 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 13 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Aug 12 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jun 18 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jun 18 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jun 15 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jun 2 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : May 11 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Mar 30 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Mar 25 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Mar 13 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Feb 12 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jan 23 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jan 15 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jan 12 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jan 9 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Jan 9 2011 |
| Answer : |
|
| Answered By : |
null Replied Date : Dec 31 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Dec 1 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 23 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 22 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 19 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 11 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Sep 17 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Sep 13 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Sep 8 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Sep 3 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Sep 2 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Aug 21 2010 |
| Answer : |
|
| Answered By : |
null Replied Date : Jul 11 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Jul 28 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 10 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Oct 30 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Nov 9 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Nov 17 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Nov 23 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : Dec 25 2012 |
| Answer : |
|
| Answered By : |
null Replied Date : May 23 2013 |
| Answer : |
|