what is a RequestProcessor?

Answers were Sorted based on User's Feedback



what is a RequestProcessor?..

Answer / chandana

RequestProcessor is a class which takes care of calling the
Actions by getting the information from scope stored by
ActionServlet.

Is This Answer Correct ?    11 Yes 1 No

what is a RequestProcessor?..

Answer / 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

what is a RequestProcessor?..

Answer / bikram kumar nayak

When a request comes to the actionservlet ,action servlet
is a simple servlet which includes doget and dopost methods
within the methods Process is called .

the process method is called from requestprocessor which is
responcible for handling the requests and reply the
responce to the client

Is This Answer Correct ?    6 Yes 0 No

what is a RequestProcessor?..

Answer / ramaiah

Request processor is a class which is responsible for
handling req and res it is provided by struts frame work.

Is This Answer Correct ?    7 Yes 3 No

what is a RequestProcessor?..

Answer / karnakar

request processor is helper class for action
servlet ,action servlet trapse the request from
clint,requestprocessor process that request,in request
processor we methods like
isUserinrole,processMulitipart,processpreProcess,we can
iplment the methods in which we r intrested,then request is
send to appropriate action class

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Struts Interview Questions

How to build struts application in eclipse?

0 Answers  


its a ActionForm controller or model?

16 Answers   Patni, TCS, Wipro,


What is apache struts used for?

0 Answers  


What is the purpose of @beforeresult annotation?

0 Answers  


How does interceptor work in struts2?

0 Answers  


in struts without integrate hibernate how to use directly explain?

1 Answers   HCL,


How can we handle exceptions thrown by application in Struts2?

0 Answers  


What is the life cycle of actionform?

0 Answers  


What is the role of action class in struts?

0 Answers  


how you provide security in your banking project

1 Answers   IBM,


What is the purpose of @requiredstringvalidator?

0 Answers  


Explain how to work with error tags?

0 Answers  


Categories