What is the difference between RequestProcessor and
RequestDispatcher?

Answer Posted / samit katiyar

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...

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.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some struts tag libraries?

566


How struts 2 validation works?

582


How do you find the struts version being used in a project?

523


What is actioninvocation in struts2?

590


How you will enable front-end validation based on the xml in validation.xml?

579






What are the steps used to setup dispatch action?

501


What’s the difference between struts and turbine?

560


What are action errors and error?

582


What are the loop holes of struts?

567


What is struts-default package and what are it’s benefits?

585


Whats the difference between the default namespace and the root namespace?

523


What is the purpose of @customvalidator annotation?

577


How to handle exceptions in structs?

580


Which interceptor is responsible for file upload support?

583


What is the purpose of @key?

585