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

Can we handle exceptions in Struts programmatically?

522


What are the loop holes of struts?

567


What are the steps of struts installation?

574


Why it called struts?

563


What is the difference between session scope and request scope when saving formbean ?

562






What configuration changes are required to use Tiles in Struts?

572


What is the purpose of execute method of action class?

569


What is the purpose of @stringlengthfieldvalidator annotation?

607


What is structs 2 validation framework?

570


What is the difference between forwardaction and includeaction?

537


Why use spring, if you are already using struts?

564


What are inner class and anonymous class?

551


What are different ways to create Action classes in Struts2?

600


What are action errors and error?

583


How does struts work?

550