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 is a lookup dispatch action created?
What is struts framework in java?
What is the purpose of struct-config.xml in struct2?
how to develop the submit and search operations in single jsp using struts?
Can a reducer dispatch an action?
Why we use struts over servlets?
Can you explain the directory structure for a struts folder in brief ?
Do you need an alignment after replacing struts?
Whats the difference between the default namespace and the root namespace?
Can we have more than one struts-config.xml file for a single struts application?
What is struts-default package and what are it’s benefits?
What is execute method in struts?
What is http redirect?
What are Struts2 core components?
What is xml based validation in struts2?