What is the difference between RequestProcessor and
RequestDispatcher?

Answer Posted / panchu

Request processor is a class which is responsible for
handling request and response it is provided by struts
framework if we want to customize our controller we can
make in this class.

Request Dispatcher is an interface which supports for
dispatching request from one page to another page in a
application(page may be a servlet file,JSP...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

532


Why is action servlet a singleton in struts?

575


What is DynaActionForm?

585


What is apache struts used for?

471


Explain struts.devmode?

541






When should be opt for struts framework?

560


What are the aware interfaces in struts2?

529


What is difference between spring and struts?

482


What is the configuration files used in struts?

505


What does action do in struts?

504


What is dispatchaction?

613


What is the purpose of dispatcher result type?

532


Briefly tell the two kinds of form beans.

539


What is struts2 in java?

517


State an example of struts configuration file as an action parameter for action servlet.

518