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
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What is an interceptor stack?
Can you explain the directory structure for a struts folder in brief ?
What is action class? What are the types of action class?
What is actioncontext?
Are struts still used?
How can we display validation errors on jsp page?
How to use dispatchaction?
What are the sections into which a strut configuration file can be divided?
What is struts and springs in java?
How to explain Software Bank Loan descriptions
What does the term struts mean?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is the use of struts config xml file?
Describe the basic steps used to create a tiles application?