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


Please Help Members By Posting Answers For Below Questions

What is jakarta struts framework?

540


What is s token?

518


What is the purpose of @key?

552


What is struts in java with example?

486


What are the 5 constants of action interface?

523






Are interceptors and filters different?

526


Why use struts framework in java?

521


What is the default location of result pages and how can we change it?

531


what is ACID test for fresh engineers??what is the pattern??

2340


What is switchaction?

631


What’s the utilization of resource bundle properties file in struts validation structure?

596


What is the default suffix for struts2 action uri ?

526


Are struts thread safe?

545


How an actionform bean is created?

543


What are the various struts tag libraries?

527