Top Struts Interview Questions :: ALLInterview.com http://www.allinterview.com Top Struts Interview Questions en-us What is MVC Architecture? http://www.allinterview.com/showanswers/6898.html MVC is model view controller architecture . MVC is divided into 3 parts 1.MVC 2.MVC ->1 this is jsp and java bean commmunication. 3.MVC ->2 this is servlet+jsp+javabean+struts commun. model is backend database or Difference between JSF Framework and Struts Framework. http://www.allinterview.com/showanswers/3655.html Both these Frameworks are used for forcing the implementation of MVC-2 pattern. Struts Framework is implemented by apache, where as JSF is implemented by Sun Microsystems. Wat is Difference between Mvc1 architecture and Mvc2 Architecture? http://www.allinterview.com/showanswers/20110.html MVC1 it combines the presentation logic with the business logic where as MVC2 it seperates the presentation logic from business logic How many types of action clases are there in stuts and their uses? http://www.allinterview.com/showanswers/20103.html 1)Forward Action 2)Include Action 3)Dispatch Action 4)Switch Action.........(one more Action is there) What is Struts Frame Work Architecture(With Diagram) ? http://www.allinterview.com/showanswers/20108.html Model Components Model components provide a "model" of the business logic or data behind a Struts program. For example, in a Struts application that manages customer information, it may be appropriate to have a "Customer" M Is struts thread safe? http://www.allinterview.com/showanswers/20105.html Struts is not only thread safe, it is thread dependant. Struts instansiate each Action only once and allow all other request to be handled by the same action what is ForwardAction and IncludeAction in struts? http://www.allinterview.com/showanswers/15727.html The IncludeAction has the same problem that the ForwardAction used to have . The IncludeAction directly calls the request dispatcher, returns a null ActionForward which bypasses the processing of the RequestProcessor. Unfortunate what is the difference between SAX Parser and DOM Parser?? http://www.allinterview.com/showanswers/56737.html 1. sax is an event based parser and raise and event, while dom is not 2. sax is forward only where as dom can acess both was forward as well as backwards. 3. sax parses the file as it reads where as the dom loads the file into memory to pars Difference between struts1.2 and struts2.0? http://www.allinterview.com/showanswers/75377.html Feature Struts 1 Struts 2 Action classes Struts 1 requires Action classes to extend an abstract base class. A common problem in Struts 1 is programming to abstract classes instead of interfaces. An Struts 2 Action may implement an Action inte What is Struts Flow? http://www.allinterview.com/showanswers/56972.html the flow execution of struts. The browser makes a request to the Struts application that is processed by ActionServlet (Controller). ActionServlet (Controller) populates the ActionForm (View) object with HTML form data and invokes its valid life cycle of struts? http://www.allinterview.com/showanswers/64569.html process of creating , invoking , destroying the servlet is known as "life cycle of struts". here three methods are involved 1.init() : Total intialization part of servlet ll be there in this . 2.service() : Actual Bussiness c Is Struts Action class Thread Safe? http://www.allinterview.com/showanswers/65979.html I think Struts Action class is not Thread Safe For more of these, please visit http://freesourceutilityhelp.googlepages.com http://question2answer.googlepages.com http://context2designpatterns.googlepages.com Thanks what are componeents presents in Strutsconfig.xml? http://www.allinterview.com/showanswers/37063.html <data-sources> <data-source type="org.apache.commons.dbcp.BasicDataSource"> <set-property property="driverClassName" value="org.postgresql.Driver" /> <set-property pro struts is thread safe or not ?give me answer as early as possible http://www.allinterview.com/showanswers/36891.html no,not a thread safe What is the difference between RequestProcessor and RequestDispatcher http://www.allinterview.com/showanswers/57173.html Please explain in simple and understandable words