Struts Interview Questions and Answers - Part 2

Jakarta Struts Framework - An open source framework for creating web applications. Web applications, some deliver static content and some create dynamic response.....
Components of Struts - Model Components, View Components, Controller Components.....
Core classes of the Struts Framework - The core classes of Struts framework are: ActionServlet, ActionForm, Action, Action Mapping, ActionForward.....
What are the drawbacks of Struts? - Single controller servlet – Only one ActionServlet is available which may be an issue of scalability....
Struts navigation flow - After deploying the application in the server, the container reads the information from web.xml....
Design patterns used in Struts - The Struts design pattern has N-tier architecture. This includes MVC architecture, Web applications characters, struts framework which includes – architecture, design patterns and coding idioms.....
Different kinds of actions in Struts - The different kinds of actions are done by the following: DispatchAction, ActionDispatcher , LookupDispatchAction.....
What is Action Class? - An Action class in the struts application extends Struts......
What is ActionForm? - ActionForm is a Java bean that associates one or more ActionMappings....
Difference between Action and DispatchAction classes - Grouping related actions into one class is possible using DispatchAction class.....
Switch action and forwardAction - A SwitchAction is like an Action which switches between modules and forwards the control to the URI that is specified in the new module. ...
What is LookupDispatch Action? - The LookupDispatch Action dispatches to the subclass mapped execute method....
Difference between ForwardAction and IncludeAction - Forwarding to a specified URL is provided by the ForwardAction. The mechanism to include the specified URL contents is proveided by the IncludeAction.....
Difference between Html tags and Struts specific HTML Tags - Most of the tags in the Struts framework use the following attributes...
What are the contents of web.xml and struts-config.xml? - The web.xml file contains the information that is used by servlets and JSPs.....
Differences between web.xml and sturts-config.xml - web.xml is utilized to make connections between web application and the web container....
Explain how to communicate from struts to ejb - The Struts framework strictly implements MVC pattern. The execute() method of Action class can be invoked to interact with the Model part of MVC....
What is Struts? Struts are an open framework that is used for development of JAVA web application...
Struts Action Class - The Action is part of the controller. Action Class is used to translate the HttpServletRequest to the business logic...
Struts ActionServlet - ActionServlet is a class in org.apache.struts.action. It plays the role of a controller in the Jakarta Struts Framework...
Struts Validator Framework - The validation of data, whether on the Client side browser form or on the server side, can be done with the help of Struts Validator Framework...
Struts directory structure - The jsp-files (and html-files) may be placed in the root of the application directory. 'struts-blank' contains this single jsp-file....