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

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

556


What is the difference between filters and interceptors ?

504


how to develop the submit and search operations in single jsp using struts?

2562


Why use struts framework in java?

558


How can link tag’s action attribute be used?

530






Why is it called struts?

541


How can forward action be used to restrict a strut application to mvc?

526


What is the purpose of '@keyproperty'?

581


What's mvc pattern ?

593


What is used to display the intermediate result in an interceptor?

507


What is http forward?

554


What is the difference between struts and spring? Explain

489


What is interceptor struts2?

537


What is the purpose of form-beans tag in struct-config.xml?

557


How do you convert struts to springs?

557