What is the difference between RequestProcessor and
RequestDispatcher?

Answers were Sorted based on User's Feedback



What is the difference between RequestProcessor and RequestDispatcher?..

Answer / 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

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / vikas

RequestProcessor:
Is a controller in struts.It recieves the request from the
client and makes decision where to send the request for
further processing based on the
servlet-config.xml

RequestDispatcher:
defines an object that accepts the request from the browser
and send it to any resource (such as servlet, JSP or HTML)
on the server.

Is This Answer Correct ?    15 Yes 2 No

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / sandya

ThanQ Suresh. My doubt is clarified. Have u any real time
projects on struts?

Is This Answer Correct ?    9 Yes 2 No

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / 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

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / 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

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / 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

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / sandya

Please explain in simple and understandable words

Is This Answer Correct ?    9 Yes 6 No

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / rajneesh

1.Request Dispatcher is an interface.
2Request Processor is a class.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / naveen kumar t

In struts framework we wil call Request processor from doGet
() and doPost() method.

Is This Answer Correct ?    2 Yes 2 No

What is the difference between RequestProcessor and RequestDispatcher?..

Answer / guest

Why we need to customize our controller??

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Struts Interview Questions

Can u call Action class methods fro struts-config.xml file?

2 Answers   iGate,


Can i use constructor in Action Class?If yes how?

8 Answers  


What is the role of action class in struts?

0 Answers  


What is the use of namespace in action mapping in Struts2?

0 Answers  


When should be opt for struts framework?

0 Answers  






How is a lookup dispatch action created?

0 Answers  


wahts the diif between Mvc1 and Mvc2?

3 Answers   Wipro,


What is the purpose of @validations annotation?

0 Answers  


how can i fetch combo box value into my DAO using struts 2?

3 Answers  


What is structs 2 validation framework?

0 Answers  


Hi frnds Ima facing problm with tomcat configuration.kindly can any one tell to me what is the mistake iam doing.i already configured tomcat as fallowing http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/ even though iam getting the PortNO .and changed with different no of Ports but no working kindly can any one tell me what is the mistake iam doing........?

1 Answers  


how handle when client send multiple request at atime for multiple servlets servlets?

3 Answers   IBM,


Categories