Struts

Struts Interview Questions And Answers
More interview questions and answers

What is struts?

What are the various steps involved in the implementaion of struts?

What is MVC design pattern?

How will you install struts framework in your web application?

Describe the struts specific form tag?

What is ActionForm in the struts?

What are the parameters used in the Action.execute() method in the Struts.

Which mathod is use to forward the result to the appropriate view in the Action class in Struts?

How will you tell the web application and container about your ActionServlet?

What are the various struts controller components?

What is ActionServlet class in the struts controller?

What is the entry point to ActionServlet when a request comes in.

What is the process() method doing in the ActionServlet class?

Who calls the ActionForm.validate() method inside the ActionServlet.

What is for Action.execute() method?

Describe the purpose of the Action class?

What are Struts Plugins?

What are the steps involved in Struts Plugins?

What is RequestProcessor? How will you create your own RequestProcessor?

How will you configure the Plugin in your web application.

What are the advanced Action classes? Why do you need ForwardAction class?

Which is better approach, forward attribute or ForwardAction in the Struts framework to forward the request to next view.?

What is the difference between the ForwardAction and the IncludeAction in the Struts?

Which class would you use to forward the group related actions and what are steps involved.

What are the two input tags of the tags?

What are the ActionForm Bean objects in Struts?

What is the alternatice approach to the ActionForm in Struts?

What is an ActionMapping?

How will you create your own ActionMapping?

What are the extensions of the ActionMapping provided by the struts?

What are the two i18n components of a Struts Application?

Give name of the error management classes provided by the Struts framework?

What is the difference between the ActionError and ActionErrors class provided by the Struts Framework?

What is for tag provided by Struts specific JSP tag library.

What is the tiles framework in struts?

How will you create a Tile layout view in your struts application?

How will you use the Tile layout in your struts application?

How will you create the the JSP Tile definition?

How will you use the the JSP Tile definition in your struts application?

Describe the scope of the Tile in the Struts application?

What is the difference between the jsp:include tag and tiles:insert tag?

What is the difference between tiles:importAttribute and tiles:useAttribute tag in the Tiles framework?

What is Tile controllers? How will you create your own Tile Controllers?

Explain some of the Struts sub elements?

How can you add a DataSource in your struts-config file?

How will you add FormBean Definitions in your struts configuration file?

How you can add the Global exception in your configuration file?

What are the various attributes of an sub-element in struts config file?

What is Global forwards and define its attributes in struts config file?

What is for sub elements in struts config file?

Describe the attributes of sub-element?

What is for element used in the struts config file?

How will you add a message Resource in your struts config file?

How will you configure Plugins in your struts configuration file?

What are the steps involved in installing the HTML tag library in your Struts application?

What is for tag in the HTML tag library defined in the Struts.

Describe the attributes of the tag in the HTML tag library defined in the Struts.

How many types of tag libraries are available in the Struts framework?

What is for tag in HTML tag library in the Struts framework?

What is for tag in HTML tag library in the Struts framework?

what is for tag in the HTML tag library? Define its attributes?

what is the use of tag? Name all the attributes of this tag?

what is the use of tag? Name all the attributes of this tag?

What is for tag defined in the HTML tag library in struts framework?

What is the difference between and tag in the HTML tag library in struts framework?

What is the use of tag in the HTML tag library?

What is the use of tag in HTML tag library used in Struts application?

What is the difference between and tag in HTML tag library?

What is for tag used defined by the HTML tag library?

What are the steps involved in installing the Tiles tag library in your Struts application?

What is the use of tag in Tiles tag library in Struts framewrok?

What is the use of tag in Tiles tag library in Struts framewrok?

What is for tag used in Tiles tag library in Struts framewrok?

What is the use of tag in Tiles tag library in Struts framewrok?

What is the use of and tags in Tiles tag library in Struts framewrok?

Describe the and tags in Tiles tag library in Struts framewrok?

Which tag can be used to initialize the Tiles definition factory in Struts framework?

What are the steps involved in installing the Logic tag library in your Struts application?

What is the use of and tag defined by Logic tag library in Struts framework?

What is the use of and tag defined by Logic tag library in Struts framework?

What is the use of tag defined by Logic tag library in Struts framework? Describe its attribute?

What is the use of and tag defined by Logic tag library in Struts framework?

What is the use of tag defined by Logic tag library in Struts framework? Name its attribute?

What is the use of and tag defined by Logic tag library in Struts framework?

What is the use of and tag defined by Logic tag library in Struts framework?

What is the use of and tag defined by Logic tag library in Struts framework?

What are the steps involved in installing the Template tag library in your Struts application?

What is the use of and tag defined by Template tag library in Struts framework?

What is the use of tag defined by Template tag library in Struts framework?

What are the steps involved in installing the Bean tag library in your Struts application?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework? Name all of its attribute?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

What is the use of tag defined by Bean tag library in Struts framework?

Why we use Struts framework in project?

What is hierarchy of files in Struts?

why do we have only one ActionServlet in Struts?

What is the difference between Struts 1.x and Struts 2.x

Why was perform() method changed as execute() method in Action class?

What will happen if the mapping to actionform in the struts-config.xml is mentioned wrong?

How can we communicate from struts to ejb?

What are the core classes of Struts?

Is Action class is Servlet or Not ? if yes why ?

What is difference between Html tags and Struts specific HTML Tags

What are the contents of web.xml and struts-config.xml? What is the difference between them? How to relate these tow xml files?

Should every html form property have a corresponding formbean get/set and variable.?

Can I have more than one struts-config.xml file for a single Struts application?

How the container will know this is a struts application?

What is the super class of Action and ActionForm?

What is the difference between Apache struts and Jakarta Struts? why there are 2 names?

Explain about token feature in Struts?

What is the purpose of tiles-def.xml file, resourcebundle.properties file, validation.xml file?

How you will save the data across different pages for a particular client request using Struts?

What are the disadvantages of struts?

How can we work struts on Eclipse? What is the best plugin for this?

What are the JSTL and JavaServer Faces ?

Can I have an Action without a form?

Describe the details of XML files used in the �Validator Framework�?

How you will make available any Message Resources Definitions file to the Struts Framework Environment?

What is LookupDispatchAction?

Explain about the validation steps involved in validation of client side address?

How you will enable front-end validation based on the xml in validation.xml?

Is Struts compatible with other Java technologies?