What is the use of RequestProcessor, if we are having
ActionServlet in struts

Answers were Sorted based on User's Feedback



What is the use of RequestProcessor, if we are having ActionServlet in struts..

Answer / nitilaksha m shetty

The RequestProcessor is a helper class instantiated and used
by ActionServlet to process each request that comes in. The
RequestProcessor actually does most of the work involved
when a request comes in and a response goes out. The
ActionServlet(org.apache.struts.action.ActionServlet) is
invoked each time an incoming HTTP request is received. It
then calls the
RequestProcessor(org.apache.struts.action.requestProcessor)
to determine which form bean to instantiate and which action
class to call based on the contents of your
struts-config.xml file.

Is This Answer Correct ?    16 Yes 1 No

What is the use of RequestProcessor, if we are having ActionServlet in struts..

Answer / sk niloufer

by default struts framework provides ApplicationController Design Pattern in the form of RequestProcessor whereas ActionServlet is a replacement of FrontController design pattern implementation

Is This Answer Correct ?    1 Yes 0 No

What is the use of RequestProcessor, if we are having ActionServlet in struts..

Answer / himanshu

The RequestProcessor is the class that we need to override
when we want to customize the processing of the ActionServlet.
It has a predefined entry point that is invoked by the
Struts Controller with each request.The entry point is the
processPreprocess method.

Is This Answer Correct ?    1 Yes 6 No

What is the use of RequestProcessor, if we are having ActionServlet in struts..

Answer / arundhathirockon

The RequestProcessor of Struts 1.2 'll act as a controller.
and the ActionServlet is used to communicate the server and
RequestProcessor. We 'll use the ActionServlet for
serverside communication.

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More J2EE Interview Questions

how to run servlet program between two computer through internet ?

0 Answers   TATA,


What is context root?

0 Answers  


How to create object without using the keyword “new” in java?

0 Answers  


What are defined as web components?

0 Answers  


What are j2ee components?

0 Answers  


What is java ee sdk?

0 Answers  


Is string an object in java?

0 Answers  


What does java ee stand for?

0 Answers  


static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable

5 Answers   Infosys,


Why java is not 100% object oriented language?

0 Answers  


What is java secure socket extension (jsse)?

0 Answers  


What is java developer job description?

0 Answers  


Categories