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
What are disadvantages of Struts?
Explain struts?
What are the 5 constants of action interface?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is front controller in struts?
Give an example of validates method used to avoid errors.
What is the purpose of plug-in tag in struct-config.xml?
How we can configured action mapping in struts?
What is the difference between forwardaction and includeaction?
Explain how to work with error tags?
What is the use of forwardaction?
What is the purpose of struct-config.xml in struct2?
What is the default location of result pages and how can we change it?
Is there a particularly good ide to use with struts?
How do you find the struts version being used in a project?