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
Which interceptor is responsible for i18n support?
What are the ways in which duplicate form submission can occur?
What is the difference between validation.xml and validator-rules.xml files in struts?
How is forward action used for integration?
How do I access token?
What is use of i18n interceptor?
What do you mean by actionservlet?
Can we use struts and spring together?
How struts2 supports internationalization?
What are the Core classes of Struts Framework?
Give an example where struts tiles may be used?
Difference between struts and spring? Or why use spring, if you are already using struts?
What is the purpose of @doublerangefieldvalidator annotation?
What is the purpose of constant tag in struts.xml?
How many struts config file can be created in struts?