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 processor class ?

Answer Posted / teja

Class is the actual place where the request processing
takes place in a Struts controller environment.

When the request object first reaches the actionservlet
class then it invokes the process method of the underlying
RequestProcessor Class.

This process method then looks into the struts-config.xml
file and tries to locate the name of the action that has
come with the request.Once it identifies the action in the
xml file it continues the rest of the steps needed for
request processing.

processor has most of the following responsibilities:

1.Determine path,
2.Handle Locale,
3.Process content and encoding type,
4.Process cache headers
5.Pre Processing hook
6.Pre-processing hook,
7.Determine mapping,
8.Determine roles,
9.Process and validate actionForm,
10.Return a response

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are disadvantages of Struts?

1048


Explain struts?

1047


What are the 5 constants of action interface?

1018


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

1011


What is front controller in struts?

1000


Give an example of validates method used to avoid errors.

999


What is the purpose of plug-in tag in struct-config.xml?

875


How we can configured action mapping in struts?

1014


What is the difference between forwardaction and includeaction?

1182


Explain how to work with error tags?

1022


What is the use of forwardaction?

1017


What is the purpose of struct-config.xml in struct2?

978


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

1009


Is there a particularly good ide to use with struts?

924


How do you find the struts version being used in a project?

942