life cycle of struts?
Answer Posted / ayan mukherjee
When the Framework is loaded, it first loaded the Web.xml
file. Then from the Servlet tag of Web.xml, it identifies
the ActionServlet(or the Struts-Cofig.xml). Then from
welcome-file tag of Struts-Cofig.xml, it identifies the
first JSP page and runs it. Then when the request comes
through that jsp, from acion-mappings tag of Struts-
Cofig.xml it identifies the request, through path tag
(request name) and input tag (jsp name), through name tag
it identifies which bean is needed to access the data and
through type tag it identifies which Action should be
invoked. Then through the forward tag it identifies to
which jsp it has to forward the response.
| Is This Answer Correct ? | 69 Yes | 9 No |
Post New Answer View All Answers
Which class of struts is responsible to converts data types from string and vice versa?
How many struts config file can be created in struts?
What is pojo in struts2?
How an actionform bean is created?
How we can configured action mapping in struts?
How to use forward action to restrict a strut application to mvc?
In which method of action class the business logic is executed?
What are different Struts2 tags? How can we use them?
What is the purpose of @typeconversion annotation annotation?
What are the aware interfaces in struts2?
What is the purpose of @conversion annotation annotation?
What is the flow of requests in struts based applications?
What is the forward action utilized for?
Which design pattern is implemented by Struts2 interceptors?
What is purpose of execandwait interceptor?