What is the difference between RequestProcessor and
RequestDispatcher?

Answer Posted / suresh kumar

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 etc)

Is This Answer Correct ?    60 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ValueStack and OGNL?

648


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2843


What is pojo in struts2?

659


What are the two different types of validations that the validator framework supports?

610


Which class is the Front Controller in Struts2?

622






What is the default location of result pages and how can we change it?

640


Can explain about the validations and in your project where did u used the validations?

6654


What are pull and push mvc architecture and which architecture does struts2 follow?

599


how does request processor relates to action mapping?

575


What is the difference between shocks and struts?

585


What is the purpose of @before annotation?

665


What applications use apache struts?

583


Name some useful annotations introduced in Struts2?

613


What is actionform in struts?

559


What is action chaining ?

734