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 to convert struts to spring mvc?
Can I have html form property without associated getter and setter formbean methods?
What is struts and why it is used?
How does one create an action in struts 2?
What is lookupdispatchaction?
What is execute method in struts?
How to use dispatchaction?
What are pull and push mvc architecture and which architecture does struts2 follow?
Give an alternative way to protect jsp’s with not much features from direct access.
Why use spring, if you are already using struts?
What is structs 2 validation framework?
What is the purpose of @key?
Are interceptors and filters different?
What is the purpose of @after?
How struts 2 validation works?