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
How does interceptor work in struts2?
What are different ways to create Action classes in Struts2?
What are the steps used to setup dispatch action?
How can forward action be used to restrict a strut application to mvc?
What are the two scope types for formbeans?
What is actionform in struts?
What is the purpose of @element annotation annotation?
What does apache struts do?
How can we display validation errors on jsp page?
What is the role of action class?
What are best practices to follow while developing Struts2 application?
How is the action mapping specified?
What is struts validator framework?
Explain about struts?
What’s the difference between struts and turbine?