Which of the following annotations relate to security in a servlet? (i) @WebSecurity
(ii) @RolesAllowed
(iii) @WebConstraint
(iv) @HttpConstraint
(v) @Servletsecurity
A.
(i) only
B.
(i) and (iii)
C.
(iv) and (v)
D.
(iii) and (v)
E.
(ii) and (iv)
Which of the following annotations relate to security in a servlet? (i) @WebSecurity
(ii) @RolesAllowed
(iii) @WebConstraint
(iv) @HttpConstraint
(v) @Servletsecurity
Which of the following annotations relate to security in a servlet? (i) @WebSecurity
(ii) @RolesAllowed
(iii) @WebConstraint
(iv) @HttpConstraint
(v) @Servletsecurity
A.
(i) only
B.
(i) and (iii)
C.
(iv) and (v)
D.
(iii) and (v)
E.
(ii) and (iv)
The Correct answer is : C
The correct answer is: E
not C as its @Servletsecuirty and the correct one is @ServletSecuirty
C