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

In which method of action class the business logic is executed?

1030


What is form bean in struts?

1017


Describe the two types of formbeans.

1045


What are the important methods of actionform?

1144


how to debug struts project in netbean ?

2417


How properties of a form are validated in Struts?

1100


What does execandwait interceptor?

1080


What is the purpose of @beforeresult annotation?

1080


What are the different kinds of actions in struts?

1109


What is the purpose of @expressionvalidator annotation?

1112


Give the details of xml files used in validator framework?

1073


What are the two types of validations supported by validator framework?

1069


What is used to display the intermediate result in an interceptor?

1000


Which configuration files are used in struts?

1016


How does interceptor work in struts2?

983