
PRJ103_PART2
Quiz
•
Other
•
University
•
Practice Problem
•
Medium
Phạm Ngân
Used 1+ times
FREE Resource
Enhance your content in a minute
130 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sub-element is used to define a logical name of servlet in web deployment descriptor?
Select one:
a. All of the other choices
b. url-pattern
c. servlet-name
d. servlet-class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these statements is true about the Filter implementation?
Select one:
a. The doFilter(request, response) method examines the request or response headers and also customises them as per requirement
b. All of the others
c. The Filter Interface must be implemented to create a filter class
d. The init() method is called by the servlet container many times to initialise the filter
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a scoped attribute cart exists only in a user's session.Choose the option taken the cart from session and assign it to the attribute.
Select one:
a. <c:set var="cart" value="${sessionScope[].cart}"/>
b. <c:set var="cart" value="${sessionContext.cart}"/>
c. <c:set var="cart" value="${session.cart}"/>
d. None of the others.
e. <c:set var="cart" value="${sessionScope.cart}"/>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a web application in which the request parameter productID contains a product identifier. Which EL expression evaluates the value of the productID?
Select one:
a. ${productID}
b. None of the others
c. ${pageContext.request.productID}
d. ${param.productID}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JSTL code snippet can be used to import content from another web resource?
Select one:
a. <c:import url="foo.jsp"/>
b. <c:import page="foo.jsp"/>
c. All of the others
d. <c:include url="foo.jsp"/>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is true about the Session Listeners?
Select one:
a. HttpSessionBindingListener must not register in web deployment descriptor
b. HttpSessionBindingListener must register in web deployment descriptor
c. None of the others
d. ServletContextListener must not register in web deployment descriptor
e. ServletContextAttributeListener must not register in web deployment descriptor
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement relating to Hidden form fields is incorrect?
Select one:
a. The session information can be extracted by the application by searching for Hidden form fields
b. Hidden form fields send information from one HTML page to another thereby maintaining the connection between the two pages
c. All of the others
d. The servlets or JSP page read the Hidden form fields using response.sendParameter
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
134 questions
FANUC 1234
Quiz
•
11th Grade - University
125 questions
latihan soal RTJ
Quiz
•
University
125 questions
Python Programming Quiz
Quiz
•
University
125 questions
Airframe
Quiz
•
University
130 questions
Quiz về vai trò của người tiêu dùng
Quiz
•
University
125 questions
Quiz Doanh Nhân
Quiz
•
University
128 questions
Cuestionario sobre Bacterias
Quiz
•
University
128 questions
1234
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
