life cycle of struts?
Answer Posted / kartheeswari
There are many steps,
1. After getting the request from the client, the
ActionServlet invokes the goGet() or doPost() method, in
which there is a invokation of process() method.This method
desides the module.
2. Action servlet dispatches the request to RequestProcesor
class which does some core works of ActionServlet.Then
invokes the appropriate Action class.
3. Action class does main business logic and data accessing
(communicating with Moedl) thru execute() method and which
returns the ActionForward object.
4. In b/w the form field validations happens in form bean.
5. Depends upon the value of ActionForward object the view
is decided to display.(output)
4. Form bean is invoked for form field validation,
| Is This Answer Correct ? | 27 Yes | 36 No |
Post New Answer View All Answers
How exceptions are handled in struts application?
What is actioninvocation?
In how many ways duplicate form submission can occurs?
what is meant by Struts Validator Framework?
How do you convert struts to springs?
Explain design patterns which is used in struts?
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What are the sections into which a strut configuration file can be divided?
What is value stack?
What is difference between lookupdispatchaction and dispatchaction?
What is the purpose of @result?
Can we have more than one struts-config.xml file for a single struts application?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is package name in struts xml?
What is a custom tag?