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

Is Struts Framework part of J2EE?

773


How is forward action used for integration?

753


How do you find the struts version being used in a project?

708


Give an alternative way to protect jsp’s with not much features from direct access.

757


Are struts thread safe?

739


What is action support class in struts2?

747


What is interceptor in Struts2?

737


What is actioninvocation in struts2?

781


How many action classes can be used in struts application?

716


Whats the difference between the default namespace and the root namespace?

725


Can we have more than one struts-config.xml file for a single struts application?

709


What is the use of form bean in struts?

693


In struts.xml, what does the attribute "method" stands for in the "action" tag?

718


What are pull and push mvc architecture and which architecture does struts2 follow?

696


What do you mean by the abstract package in struts2, and what is its utilization?

722