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
If the framework doesn’t do what I want, can I request that a feature be added?
What are the bundled validators?
What validate() and reset() method does ?
How is a lookup dispatch action created?
Name some useful annotations introduced in Struts2?
What are the Core classes of Struts Framework?
Does apache tomcat use struts?
What should be the name of xml file used for validation in struts?
At the point, you should go for struts framework?
What is the purpose of @conversion annotation annotation?
What is the purpose of @expressionvalidator annotation?
What is struts2 in java?
What is the procedure of operation of a form tag?
What are the life cycle methods of interceptor?
Explain about the