Struts Quiz
Struts Quiz - 2                    

« 1 2 3 »


1. reset() method of ActionForm return:
a) void
b) ActionErrors
c) ActionError
d) ActionMapping

2. ActionForm is serializable :
a) false
b) true
c) Depends on usage
d) None of above
Wrong! Try again.
Wrong!
The correct answer is b) true
Correct!
true

3. RequestProcessor is based on following design pattern :
a) Command Design Pattern
b) Prototype Design Pattern
c) Singleton Design Pattern
d) TemplateMethod Design Pattern
Wrong! Try again..
Wrong!
The correct answer is d) TemplateMethod Design Pattern.
Correct!
TemplateMethod Design Pattern

4. Which is not subclass of DispatchAction class ?
a) MappingDispatchAction
b) EventDispatchAction
c) MethodDispatchAction
d) LookUpDispatchAction
Wrong! Try again..
Wrong!
The correct answer is c) MethodDispatchAction
Correct!
MethodDispatchAction

5. Can there be multiple  tag in tiles-defs.xml?
a) Yes
b) No
c) Always present
d) None of the above
Wrong! Try again..
Wrong!
The correct answer is b) No
Correct!
No

6. Which initialize parameter is used to specify Struts configuration?
a) config
b) initialize
c) setup
d) param
<--Previous Next-->