What is Request Dispatcher and What is reuest Processor??
Answer Posted / nagendra
RequestDispatcher is an interface
which is used to forward our request to java
enabled Resources like servlet,jsp.. within the server.
it has one limitation i.e we cant forward req to
outside server... that was achieved by using sendreDirect
mechanism ..which forwards request not only within the
server but also outside servers.
RequestProcessor is an predefined class given by structs
framework..
and it is helper class to Structs controller
component i.e ActionServlet by using the method process()..
eventhough it is predefined we can create our
own RequestProcessor class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the need of struts?
What is struts 2 framework in java?
Difference between struts and spring? Or why use spring, if you are already using struts?
What’s the utilization of resource bundle properties file in struts validation structure?
What is the purpose of @requiredstringvalidator annotation?
What are the reasons for an error message not being displayed while developing struts application?
How to build struts application in eclipse?
Is struts action class singleton?
What are the components of struts?
What do you mean by tiles in struts?
What are the features of struts?
What is role of action class?
Why we use struts over servlets?
What is the use of lookupdispatchaction?
What is the purpose of '@customvalidator'?