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
What is the life cycle of actionform?
What is action class? What are the types of action class?
How exceptions are handled in struts application?
in struts how to use hibernate with struts>
Why do we need struts?
What is the purpose of @validations annotation?
Where can I get help with struts?
What is actionservlet?
Explain how can we upload files in struts2 application?
What is s token?
Do we need to pay the struts if being used in commercial purpose?
What should be the name of xml file used for validation in struts?
What does validation interceptor?
What is the default suffix for struts2 action uri ?
What do you mean by actionservlet?