Struts2 Online Quiz


Advertisements

Following quiz provides Multiple Choice Questions (MCQs) related to Struts2 Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : D

Explanation

All of the above steps are part of the life cycle of a request in Struct2 application.

Answer : D

Explanation

All of the above statements are correct.

Answer : D

Explanation

All of the above options are correct.

Q 4 - What types of validators are available in xml based validation in struts2?

A - expression validator

B - int validator

C - regex validator

D - All of the above.

Answer : D

Explanation

All of the above validators are available in xml based validation in struts2.

Q 5 - Which of the following theme is the default theme used by Struts 2?

A - simple theme

B - xhtml theme

C - css_xhtml theme

D - complex theme.

Answer : B

Explanation

xhtml theme - This is the default theme used by Struts 2 and provides all the basics that the simple theme provides and adds several features like standard two-column table layout for the HTML, Labels for each of the HTML, Validation and error reporting etc.

Q 8 - Which of the following tag takes two or more lists as parameters and append them all together?

A - if and else tags.

B - iterator tags

C - merge tag

D - append tag

Answer : D

Explanation

These merge tag take two or more lists as parameters and append them all together.

Answer : A

Explanation

org.springframework.web.context.ContextLoaderListener acts as Listener class in struts and spring integration.

Q 10 - With Struts applications, there is a lot more going on behind the scenes than with normal Java-based Web applications.

A - true

B - false

Answer : A

Explanation

With Struts applications, there is a lot more going on behind the scenes than with normal Java-based Web applications.

struts_questions_answers.htm
Advertisements