Top Struts Interview Questions :: ALLInterview.com http://www.allinterview.com Top Struts Interview Questions en-us 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 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. 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 difference between perform() used in struts1.0 and execute() http://www.allinterview.com/showanswers/20104.html Using perform() u have throw IOException,ServletException. But where as execute() method throws Generic Exception. i.e public ActionForward perform(ActionMapping am,ActionForm af,HttpServletRequest req,HttpServeltResponse res) throws ServletEx 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 What is the difference between RequestProcessor and RequestDispatcher http://www.allinterview.com/showanswers/57173.html Please explain in simple and understandable words what is the disadvantage of struts frame work? http://www.allinterview.com/showanswers/28044.html It can become difficult to debug with the various .xml files that Struts relies on. If you have a setting out of wack, it's not very descriptive on how to fix it or what the issue is. * Figuring out what all the .xml attributes and tags project architechture in java http://www.allinterview.com/showanswers/26313.html It depends on your project in resume. Whether it is two tier architechture or 3-tier architechture or n-tier architechture. whether it is client server system or web application or Intranet application 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 what is the disadvantages of using DynaActionForm in struts framewor http://www.allinterview.com/showanswers/29347.html DynaActionForms uses more memory as compared with ActionForms , hence it is suggested to use ActionForms. 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