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 are the action classes in struts?
What is struts2 framework?
Give an example where struts tiles may be used?
How we can configured action mapping in struts?
What does i18n interceptor?
What is switchaction?
What is Custom Type Converter in Struts2?
What does it cost to replace struts?
How we can controlled duplicate form submission in struts?
Explain architecture of struts2?
How do you find the struts version being used in a project?
What are the advantages of spring mvc over struts mvc?
What are the life cycle methods of interceptor?
For a single Struts application, can we have multiple struts-config.xml files?
What is the default location of result pages and how can we change it?