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
Which class of struts is responsible to converts data types from string and vice versa?
What are the sections into which a strut configuration file can be divided?
Can you explain custom tag?
Difference between struts and spring? Or why use spring, if you are already using struts?
What is the purpose of action-mappings tag in struct-config.xml?
What is jakarta struts framework?
What validate() and reset() method does ?
What are the components of struts?
How do you find the struts version being used in a project?
What is action servlet in struts?
How client side validation is enabled on a jsp form?
Which library is provided by struts for form elements like check boxes, text boxes etc?
How to use dispatchaction?
What does modeldriven interceptor?
What are the pros of struts 2?