From a MVC perspective, Struts provides the
Model
View
Controller
None of Above
The name of the Application Resources file is set by the servlet init-param named
application
resources
ApplicationResources
Messages
The tag is:
Always converts HTML markup to entity equivalents, like <
Never converts HTML markup to entity equivalents
Converts markup when filter=true
Converts markup when markup=false
To localize Tiles, you can
Create separate configuration files for each locale
Specify an locale for a definition
Either A or B
What is return type of execute () method?
void
String
ActionForward
ActionMapping
How to use ReuestDispatcher to redirect URL ?
None of the above
If validate="true" in struts-config.xml action tag then what is the sequence of execution?
Validate () method of ActionForm, if error return to error.jsp
Validate () method of ActionForm, execute () of Action, if error return to jsp mentioned in input tag.
Validate () method of ActionForm, if error return to jsp mentioned in input tag.
Reset () method of ActionForm returns?
ActionErrors
ActionError
Is ActionForm serializable ?
true
false
both 1 and 2
Which is not subclass of DispatchAction class?
MappingDispatchAction
MethodDispatchAction
EventDispatchAction
LookUpDispatchAction