You can always press Enter⏎ to continue
Struts Quiz
1
Instructions For Quiz
This Mock Test has 15 Questions
Each Question is of 1 marks so total 15 marks
Multiple Choice Questions with only ONE valid answer
Previous
Next
Submit
Press
Enter
2
1) Which file is used by controller to get mapping information for request routing?
*
This field is required.
struts.xml
struts-cfg.xml
struts-config.xml
config.xml
Previous
Next
Submit
Press
Enter
3
2)In order to use Struts framework, we only need to add _________ file in our development environment.
*
This field is required.
Struts.Jar
Struts.war
Struts.ini
Previous
Next
Submit
Press
Enter
4
3) Which method can be used to avoid duplicate form submissions.
*
This field is required.
saveToken()
isTokenValid()
Token()
Option 1 & 2
Previous
Next
Submit
Press
Enter
5
4) In Struts, how can we access Java beans and their properties?
*
This field is required.
Row Library
Tag Library
Column Library
Table Library
Previous
Next
Submit
Press
Enter
6
5) Which configuration file is used for storing JSP configuration information in Struts?
*
This field is required.
Web.xml
struts-cfg.xml
struts.xml
Web.cfg.xml
Previous
Next
Submit
Press
Enter
7
6) Which files are used to define mapping between URL and action.
*
This field is required.
struts-cfg.xml
struts.xml
struts-config.xml
Web.xml
Previous
Next
Submit
Press
Enter
8
7) Which method is used to clear the values of a form before initiation of a new request.
*
This field is required.
Unset
Delete
Submit
Reset
Previous
Next
Submit
Press
Enter
9
8) Is Struts thread safe?
*
This field is required.
YES
NO
Previous
Next
Submit
Press
Enter
10
9) Can we handle exceptions in Struts programmatically?
*
This field is required.
YES
NO
Previous
Next
Submit
Press
Enter
11
10) Is struts framework part of J2EE?
*
This field is required.
YES
NO
Previous
Next
Submit
Press
Enter
12
11) Which technology can be used at View Layer in Struts?
*
This field is required.
J2EE
DHTML
XML/XSLT
JAVASCRIPT
Previous
Next
Submit
Press
Enter
13
12) Which library is provided by Struts for form elements like check boxes, text boxes etc.?
*
This field is required.
J2EE Tags library
STRUTS Tags library
HTML Tags library
Previous
Next
Submit
Press
Enter
14
13) Which method is NOT used in action form?
*
This field is required.
validate()
unset()
reset()
Previous
Next
Submit
Press
Enter
15
14) Which class is used to handle the request?
*
This field is required.
Action Class
Action Servlets class
Action Forward class
Action Form class
Previous
Next
Submit
Press
Enter
16
15) Which helper is NOT used in Struts framework?
*
This field is required.
#NAME?
#NAME?
#NAME?
#NAME?
Previous
Next
Submit
Press
Enter
Should be Empty:
Question Label
1
of
16
See All
Go Back
Submit