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
In which method of action class the business logic is executed?
What is form bean in struts?
Describe the two types of formbeans.
What are the important methods of actionform?
how to debug struts project in netbean ?
How properties of a form are validated in Struts?
What does execandwait interceptor?
What is the purpose of @beforeresult annotation?
What are the different kinds of actions in struts?
What is the purpose of @expressionvalidator annotation?
Give the details of xml files used in validator framework?
What are the two types of validations supported by validator framework?
What is used to display the intermediate result in an interceptor?
Which configuration files are used in struts?
How does interceptor work in struts2?