Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

For a single Struts application, can we have multiple struts-config.xml files?

987


What helpers in the form of jsp pages are provided in struts framework?

992


Which configuration files are used in struts?

966


What is the purpose of @results annotation?

1297


What is the purpose of @customvalidator annotation?

998


Where should struts xml be placed?

927


How to get data from the velocity page in a action class?

960


What is the use of namespace in action mapping in Struts2?

1058


Why are springs better than struts?

1153


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

989


What is the purpose of @key?

1055


Is struts compatible with other java technologies?

962


Are struts still used?

934


What are the loop holes of struts?

1050


What is the purpose of @after annotation?

1032