Which of the following should always forwards or redirect to a resource (view) after completed?

Options
- HttpResponse object
- ActionServlet
- Action class
- Request Processor


CORRECT ANSWER : Request Processor

Discussion Board
Request Processor

RequestProcessor consists of the processing logic which is being performed by ActionServlet as it receives each servlet request from the container. The processing behavior of the request can be customized by subclassing this class and overriding the method(s) as per the need and demand.

Request processor follows the following responsibilities:

1. Determine path,
2. Handle Locale,
3. Process content and encoding type,
4. Process cache headers
5. Pre Processing hook
6. Pre-processing hook,
7. Determine mapping,
8. Determine roles,
9. Process and validate actionForm,
10. Return a response

Rohit Sharma 10-5-2014 10:30 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