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
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
What are the steps involved in creating a strut application?
What is the purpose of @requiredstringvalidator annotation?
What is http redirect?
Which configuration files are used in struts?
What is the difference between forwardaction and includeaction?
What kind of mvc is struts 2?
Explain struts.devmode?
What do you mean by the abstract package in struts2, and what is its utilization?
How struts2 supports internationalization?
Can you explain aware interfaces in struts2?
What is the use of resourcebundle.properties file in Struts Validation framework?
What are the conditions for actionform to work correctly?
What does action do in struts?
Why do we need mapdispatchtoprops?