Spring mvc control flow :-(see below digram. ......step by step)
= = = = = = = = = = = = = = = = = = =
To make webapp
= = = = = = = = = = = = = = = = = = =
To make webapp
👉1 .First From browser u forward request to servlet (Dispatcher Servlet) to handel it..
👉2.Dispatcher Servlet here act as a controller. Who only manage the request processing. ..so it rcv the request and then forward request to HandlerMapping
👉3.Handler mapping is framework provide class..Normally in mvc there r several controller Bean so HandlerMapping helps to search appropriate controller Bean based on request url to perform business operation
👉4.and 5 After finding controller Bean it process some operation and return MAV object ..to Dispatcher Servlet
M:-model
A:-and
V:-view
M:-model
A:-and
V:-view
👉6 . Now after processing business operation response will be generated and it should be display on browser otherwise how enduser know about response. ..so to find appropriate view representer..Dispatcher Servlet call again ViewResolver. .which helps to find appropriate jsp to display view
👉7 . Then Dispatcher Servlet render data nd call that jsp which is identify by ViewResolver to view response on browser. ..
👉8. Finally Response will be receive by End user. ..
Brilliant ideas that you have share with us.It is really help me lot and i hope it will help others also.
ReplyDeleteupdate more different ideas with us.
Selenium Training in Chennai
selenium training in tambaram
JAVA Training in Chennai
Python Training in Chennai
Hadoop Training in Chennai
IOS Training in Chennai
Selenium Training in Chennai
Selenium Training in OMR