What is the difference between RequestProcessor and
RequestDispatcher?
Answer Posted / vikas
RequestProcessor:
Is a controller in struts.It recieves the request from the
client and makes decision where to send the request for
further processing based on the
servlet-config.xml
RequestDispatcher:
defines an object that accepts the request from the browser
and send it to any resource (such as servlet, JSP or HTML)
on the server.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
How action-mapping tag is used for request forwarding in struts configuration file?
What is the flow of requests in struts based applications?
What is used to display the intermediate result in an interceptor?
What are the pros of struts 2?
How do I access token?
What is Custom Type Converter in Struts2?
How to handle exceptions in structs?
How properties of a form are validated in Struts?
What is the purpose of struct-config.xml in struct2?
What is the purpose of @key annotation annotation?
Explain the necessity of empty tag?
How we can install struts?
What do you mean by inner class and anonymous class?
What are the two types of validations supported by validator framework?
What are the steps of struts installation?