What is the difference between RequestProcessor and
RequestDispatcher?

Answer Posted / guest

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 ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are struts tightly coupled?

675


What is the purpose of dispatcher result type?

629


Can we have multiple struts config files in a single web app?

583


How many struts config file can be created in struts?

579


What is struts and why it is used?

589






What’s the utilization of struts.xml configuration file?

625


How duplicate form submission can be controlled in struts?

743


What are construction struts?

596


What is action class? What are the types of action class?

603


How does one create an action in struts 2?

611


What is the default suffix for struts2 action uri ?

637


What is the purpose of @conversionerrorfieldvalidator annotation?

712


Give the details of xml files used in validator framework?

683


What is the purpose of @key?

669


What is the forward action utilized for?

629