Which instance in Spring MVC framework is created first? -


i new spring mvc. can please tell me instance created first in spring mvc framework? question asked in interview.

i answered dispatcher servlet not correct answer per interviewer.

can please explain instance creation sequences in spring mvc framework?

i call spring-context not "instance". anyway: in typical spring web application have 2 spring-contexts:

  • the 1 created contextloaderlistener, and
  • the 1 created dispatcherservlet

the 1 created contextloaderlistener created first , become parent context of 1 create dispatcherservlet.

@see: contextloaderlistener or not? more insights.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -