Answer Posted / farheen
1.When the user performs an action on the Web application,
the Web browser sends a request for some resource to the
Web server.
2.The request is received by the servlet filter dispatcher,
which looks at the request and determines the appropriate
Action to be invoked to serve it.
3.The set of interceptors configured for applying some
common functionality to the request -- validation,
workflow, or file upload, for instance -- are automatically
applied to the request before the Action is executed.
4.A new instance of the Action class is created and then
the action method is executed for storing or retrieving
information to or from a database.
5.The output -- be it HTML, images, PDF, or in some other
format -- is rendered by the result.
6.Then the request traverses through the interceptors in
the reverse order. The returning request allows for the
performance of additional processing or clean-up
operations.
7.Finally, the container sends the output to the browser
Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is package name in struts xml?
What is action class?
Why actionservlet is singleton in struts?
What is the use of token interceptor in Struts2?
What is the differences between struts1 and struts2?
What is the use of reset method of ActionForm class?
What do struts do?
What are the main classes which are used in struts application?
What are interceptors in struts 2?
What are result types in struts?
What is strut web xml?
Give the details of xml files used in validator framework?
What do you mean by inner class and anonymous class?
How nested beans can be used in Struts applications?
What do you mean by actionservlet?