Struts2 Online Quiz


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 : A

Explanation

Model - The lowest level of the pattern which is responsible for maintaining data.

Answer : D

Explanation

All of the above statements are correct.

Answer : A

Explanation

There are various temporary objects which are created during execution of a page. For example the current iteration value for a collection being looped over in a JSP tag.

Q 5 - Which of the following theme provides all the basics that the simple theme provides and adds several features like standard two-column CSS-based layout?

A - simple theme

B - xhtml theme

C - css_xhtml theme

D - complex theme.

Answer : C

Explanation

css_xhtml theme - This theme provides all the basics that the simple theme provides and adds several features like standard two-column CSS-based layout, using for the HTML Struts Tags, Labels for each of the HTML Struts Tags, placed according to the CSS stylesheet.

Answer : B

Explanation

This validation annotation checks that a field is non-null. The annotation must be applied at method level.

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.

Q 9 - Which of the following tag can be used to parameterize other tags?

A - date tag

B - param tag

C - property tag

D - push tag

Answer : B

Explanation

The param tag can be used to parameterize other tags.

Q 10 - The web.xml configuration file is a J2EE configuration file that determines how elements of the HTTP request are processed by the servlet container.

A - false

B - true

Answer : B

Explanation

The web.xml configuration file is a J2EE configuration file that determines how elements of the HTTP request are processed by the servlet container.

struts_questions_answers.htm
Advertisements