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
What is actioninvocation?
What is the role of action class in struts?
How action-mapping tag is used for request forwarding in struts configuration file?
What is the naming convention for a resource bundle file in struts2?
What are the reasons for an error message not being displayed while developing struts application?
What is life cycle of an interceptor?
What do struts do?
What does action do in struts?
Can a reducer dispatch an action?
What is dispatch action class?
What is use of i18n interceptor?
How do I access token?
What is the difference between struts and spring?
What is the purpose of @element?
What is the use of web xml in struts2?