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 can we display all validation errors to user on jsp page?
How do you create message resource?
What is actionmapping?
What are the classes used in struts?
Is struts 1 still supported?
How can link tag’s action attribute be used?
What is the purpose of struts.properties in struct2?
How does one create an action in struts 2?
What are the main classes which are used in struts application?
What is filter dispatcher in struts?
Explain about struts dispatch action?
What is the use of reset method of ActionForm class?
What is struts framework?
Explain about the future of struts?
What kind of mvc is struts 2?