Which of the following acts as a bridge between user-invoked URI and a business method?

Options
- HttpRequest
- Action class
- ActionServlet
- RequestProcessor


CORRECT ANSWER : Action class

Discussion Board
Action class

An Action class acts as a bridge between user-invoked URI and a business method. It provides an interaction between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request. RequestProcessor also known as the controller will select an appropriate Action for each request, create an instance, and call the execute method. Action class provides a thread-safe manner in which multiple requests can run and controller can share the same instance multiple times.

Rohit Sharma 10-5-2014 10:49 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement