What is the difference between RequestProcessor and
RequestDispatcher?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / sandya
ThanQ Suresh. My doubt is clarified. Have u any real time
projects on struts?
| Is This Answer Correct ? | 9 Yes | 2 No |
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 |
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 |
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 |
Answer / sandya
Please explain in simple and understandable words
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / rajneesh
1.Request Dispatcher is an interface.
2Request Processor is a class.
| Is This Answer Correct ? | 3 Yes | 0 No |
In struts framework we wil call Request processor from doGet
() and doPost() method.
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the purpose of @expressionvalidator annotation?
How struts2 supports internationalization?
What is struts and why it is used?
Explain about struts relation to html tags?
What is Struts Frame Work Architecture(With Diagram) ?
what are the actions in struts?
Does apache tomcat use struts?
Lists the bundled validators in struts?
is it necessary to write struts-confing.xml ,what tags are important in that xml file?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
In which method of action class the business logic is executed?
Can a reducer dispatch an action?