Announcement Announcement Module
Collapse
No announcement yet.
Low level explanation how spring binds controller/method urls and routing Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Low level explanation how spring binds controller/method urls and routing

    Is there a low level explanation on how spring goes about mapping the urls that we define using annotations?

    I'm guessing it is something like this, but would be interested if someone can explain the process and pin-point where int he source this occurs.

    When the spring mvc application starts for the first time, spring scans all classes with the @Controller annotation and its methods, and it builds up a list of urls, then when a request comes in for a particular web page, it loops through this list and if/when a match is found, it hands of the request/response information for that controller to respond to.

    Comments?
Working...
X