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
Why use struts framework in java?
What is dispatchaction?
What is the purpose of global-forwards tag in struct-config.xml?
What is the purpose of @beforeresult annotation?
What do you mean by a custom tag?
Is struts mvc framework?
What is difference between struts1 and struts2?
How action mapping is configured in Struts?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What are the struts2 error message keys that can come during file uploading process?
What is the purpose of @results?
What's the purpose of execute method of action class?
What is difference between interceptors and filters?
Do you need an alignment after replacing struts?
What is the purpose of @intrangefieldvalidator annotation?