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 components are available using actioncontext map?
Difference between html tags and struts specific html tags
How can we display validation errors on jsp page?
What is execute method in struts?
Can you explain custom tag?
What are the important methods of actionform?
What are the sections into which a strut configuration file can be divided?
What is the purpose of @results annotation?
What is the purpose of interceptors?
Which tag is used to declare constants in struts xml?
Which servlet does the struts framework use?
What do you mean by actionmapping?
How can duplicate form submission be handled in struts 2?
What is the purpose of @customvalidator annotation?
how does request processor relates to action mapping?