what is a RequestProcessor?

Answer Posted / mukesh

Request processor is class which perform lots
tasks . These are following type

1) Process path : Determine the path that invoked
us.Which is used later for retrive ActionMapping.

2)ProcessLocale : Select a locale for this request if
one hasnt already benn selected place it in request.

3) ProcessContent : set the default content type for all
responce all request
4) ProcessMapping : adetermine the Actionampping
accociate with this path .

5) ProcessActionForm: instanciate the ActionForm associate
with mapping and place it into appropriate scope.

6) ProcessValidate : Perform validation on the ActionForm
associate with this request .
7) ProcessForward : If amppping represent a forward , it
forwards.
8) ProcessAction Perform () : This point action perfor
method called.

some more details can be on web
shan sing
sun microsystem.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does struts include its own unit tests?

522


What is the difference between struts and spring? Explain

483


What is the purpose of dispatcher result type?

551


What does it cost to replace struts?

497


What is the purpose of @conversion annotation annotation?

591






How properties of a form are validated in Struts?

563


How struts2 supports internationalization?

650


How can we upload files in Struts2 application?

584


What is the use of jsonvalidation?

594


Is there a particularly good ide to use with struts?

504


What is actionservlet?

558


What is the purpose of @key annotation annotation?

592


What validate() and reset() method does ?

541


What is ValueStack and OGNL?

567


How can we group related actions in one group in Struts?

557