-
Oct 21st, 2012, 08:39 PM
#1
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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules