what is request processor class ?

Answer Posted / teja

Class is the actual place where the request processing
takes place in a Struts controller environment.

When the request object first reaches the actionservlet
class then it invokes the process method of the underlying
RequestProcessor Class.

This process method then looks into the struts-config.xml
file and tries to locate the name of the action that has
come with the request.Once it identifies the action in the
xml file it continues the rest of the steps needed for
request processing.

processor has most of 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

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java struts?

540


How can we write our own interceptor and map it for action?

573


What are inner class and anonymous class?

547


What is the purpose of @conversion?

605


How client side validation is enabled on a jsp form?

592






What are the some useful annotations introduced in struts2?

550


What is s token?

539


What is spring hibernate and struts in java?

492


Can we have multiple struts config files ?

541


Explain about struts?

555


Will the struts tags support other markup languages such as wml ?

553


What design patterns are used in struts?

563


What is the configuration files used in struts?

529


What is the purpose of struts.xml in struct2?

679


What are the steps of struts installation?

573