You created two filters for your web application by using the @WebFilter annotation, one for authorization and the other for narrowing results by the provided search criteria. The authorization filter must be invoked first. How can you specify this?
A.
setting the priority attribute of the @WebFilter annotation for each of the filters
B.
placing the filter mapping elements in the required order in the web.xml deployment descriptor
C.
placing @WebFilterMapping annotations in the required order
D.
specifying the filter precedence order by using the @Priority annotation
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
pedrolima
Highly Voted 3 years, 5 months agoorjava
Most Recent 7 months agodevmsaleh
2 years ago