Which of the following are attributes of the annotation javax.servlet.annotation.WebFiler?

Which of the following are attributes of the annotation javax.servlet.annotation.WebFiler?
Name
servletNames
urlPatterns
dispatcherTypes
supportAsync

Which of the following are attributes of the annotation javax.servlet.annotation.WebFiler?
Name
servletNames
urlPatterns
dispatcherTypes
supportAsync

A.
(iii) only

B.
(iii) and (iv)

C.
(ii), (iii) and (iv)

D.
(iii), (iv) and (v)

E.
(ii), (iii), (iv) and (v)

Explanation:
* (iii) urlPatterns
The URL patterns to which the filter applies
* (iv) dispatcherTypes
The dispatcher types to which the filter applies
* (not V): asyncSupported
Declares whether the filter supports asynchronous operation mode.
Note:
* javax.servlet.annotation
Annotation Type WebFilter
Annotation used to declare a servlet filter.
This annotation is processed by the container at deployment time, and the corresponding filter
applied to the specified URL patterns, servlets, and dispatcher types.

—–



Leave a Reply 11

Your email address will not be published. Required fields are marked *


giuseppe farscadore

giuseppe farscadore

C, The answer B is about the @WebServlet

Rudi

Rudi

C is correct

John Doe

John Doe

C for sure

sc0r

sc0r

Is not B. The correct answer is C without doubt

Adriano Palomino

Adriano Palomino

C is correct

Walker

Walker

The correct answer is C without doubt