Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What is Request Dispatcher and What is reuest Processor??

Answers were Sorted based on User's Feedback



What is Request Dispatcher and What is reuest Processor??..

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

What is Request Dispatcher and What is reuest Processor??..

Answer / 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

More Struts Interview Questions

Do I have to credit struts on my own website?

0 Answers  


What is ValueStack and OGNL?

0 Answers  


Where can I get a copy of struts?

0 Answers  


What do you mean by action errors and what are the results they force?

0 Answers  


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

0 Answers  






What is MVC?

6 Answers   Infosys,


What does apache struts do?

0 Answers  


What are pull and push mvc architecture and which architecture does struts2 follow?

0 Answers  


Can we write Structs application without using Action Class directly or indirectly(extends Action class)

5 Answers  


What is life cycle of an interceptor?

0 Answers  


How is the mvc design pattern used in struts framework?

0 Answers  


Hai all.What is the use of <logic:iterate>tag in struts application.

3 Answers   CA, TCS,






Categories