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
Is struts 1 still supported?
What is life cycle of an interceptor?
Is struts efficient?
What is actioninvocation in struts2?
What is difference between interceptors and filters?
What is the default suffix for struts2 action uri ?
What’s the difference between struts and turbine?
What types of validations are available in xml based validation in struts2?
What is struts validator framework?
What is action class? What are the types of action class?
What is the front controller in struts2?
What is Custom Type Converter in Struts2?
What is struts in java with example?
What are the aware interfaces in struts2?
What are the core classes of struts?