Struts Interview Questions And Answers

Struts Interview Questions list for experienced

  1. Explain Struts.
  2. What's MVC pattern ?
  3. Define struts?
  4. Can you explain the directory structure for a struts folder in brief ?
  5. Can you give an overview of how a struts application flows ?
  6. Why Struts?
  7. What is role of Action Class?
  8. What is DynaActionForm?
  9. How the exceptions are handled in struts?
  10. What is difference between ActionForm and DynaActionForm?
  11. How can we make message resources definitions file available to the Struts framework environment?

Struts interview questions and answers on advance and basic Struts with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Struts also add your Questions if any you have to ask and for apply in Struts Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Struts interview questions and answers for freshers and experienced

What is Struts ?

Answer : The Apache Struts web framework is a free open-source solution for creating Java web applications. This framework has reached End Of Life status as of 2013-04-05.

Questions : 1 :: Explain Struts.

Struts is open source software used to develop java based web page. Struts uses Jakarta Packages, Java Servlets, JavaBeans, ResourceBundles, and XML Struts takes the help of Model View Controller...View answers

Questions : 2 :: What's MVC pattern ?

The main purpose of using MVC pattern is to decouple the GUI from the Data. It also gives the ability to provide multiple views for the same Data. MVC pattern separates objects into three important...View answers

Questions : 3 :: Define struts?


Struts are an open source framework for developing JAVA web applications. It extends Java Servlets API and helps developers to adopt MVC architecture. MVC pattern is good but developing the same can...View answers

Questions : 4 :: Can you explain the directory structure for a struts folder in brief ?

Below are the folders from point of view of root folder. META-INF: - This directory has the Meta information. WEB-INF/classes: - This location has the actual JAVA classes....View answers

Questions : 5 :: Can you give an overview of how a struts application flows ?

 just to summarize how the execution flows in the struts application. User makes browser makes a request to the Struts application that is processed by ActionServlet (Controller). ActionServlet...View answers

Questions : 6 :: Why Struts?


  1:Takes much of the complexity out of building your own MVC framework    2:Encourages good design practice and modeling   3:Easy to learn and...View answers

Questions : 7 :: What is role of Action Class?

An Action Class performs a role of an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.

Questions : 8 :: What is DynaActionForm?

A specialized subclass of ActionForm that allows the creation of form beans with dynamic sets of properties (configured in configuration file), without requiring the developer to create a Java class...View answers

Questions : 9 :: How the exceptions are handled in struts?


Exceptions in Struts are handled in two ways: Programmatic exception handling : Explicit try/catch blocks in any code that can throw exception. It works well when custom value (i.e., of...View answers

Questions : 10 :: What is difference between ActionForm and DynaActionForm?

An ActionForm represents an HTML form that the user interacts with over one or more pages. You will provide properties to hold the state of the form with getters and setters to access them....View answers

Questions : 11 :: How can we make message resources definitions file available to the Struts framework environment?

We can make message resources definitions file (properties file) available to Struts framework environment by adding this file to struts-config.xml.
More Question

Ask your interview questions on Struts

Write Your comment or Questions if you want the answers on Struts from Struts Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---