I’m using java servlets with spring 3.
Is there any way to check if there is a handler for a specific URL?
I’m trying to implement a test which ensures that all urls used in my Jsp files are handled.
In case I want to do a url refactoring, I want to ensure that there isn’t any ‘broken link’ in my jsps …
Thanks
Here an example of a test for the FooController if you are using JUnit and Spring 3 :
The test case for the FooController :