0

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!

1 Answer 1

3

You need to implement your own HandlerMapping. See here Is it possible to dynamically set RequestMappings in Spring MVC?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.