Reputation: 869
I have an xml file containing URLs. I would like to take those URLs and map them to a default handler from which I can return a ModelAndView object. If this is possible can anyone point me in the direction of how? Would this stop me from being able to use standard annotation driven handlers?
Thanks!
Upvotes: 0
Views: 2210
Reputation: 1594
You need to implement your own HandlerMapping. See here Is it possible to dynamically set RequestMappings in Spring MVC?
Upvotes: 3