What is Request Dispatcher and What is reuest Processor??
Answers were Sorted based on User's Feedback
Answer / laxmi
RequestDispatcher(rd) is an interface .Servlet container
creates rd object that receives requests from the client and
sends them to any resource (such as a servlet, HTML file, or
JSP file) on the server.
Request Processor contains the processing logic that the
ActionServlet performs as it receives each servlet request
from the container.
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
struts 1.3 features?
What steps are required to for an application migration from Struts1 to Struts2?
What is the use of forwardaction?
What is the purpose of @requiredstringvalidator?
What is struts actionmapping?
Explain about token feature in struts?
Can we handle exceptions in Struts programmatically?
What are Struts2 core components?
What does apache struts do?
Where can i get jar file for use the struts-tags in struts2?
what is ACID test for fresh engineers??what is the pattern??
what is the purpose of load_on_startup entry in struts- config.xml?