PrepAway - Latest Free Exam Questions & Answers

Which of the following is considered the best way to design a flexible API that does not require a servlet per

Which of the following is considered the best way to design a flexible API that does not require a
servlet per activity?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a query string containing the activity name as a parameter. Let the servlet read the
parameter to determine what must occur.

B.
Use a servlet mapping to make requests with the same suffix. Change the prefix to the action
and let the servlet read the whole URL to determine what is required.

C.
Embed the activity name in a hidden field. Let the servlet read the field to determine what must
occur.


Leave a Reply