spring-mvcspring-webflowspring-annotations

How to find the controller mapped to the URL in spring annotations


When am asked to fix an issue, by understanding the code-flow, i find the URL which is been hit and then i go to the controller which is mapped to that particular URL

I find the process very tedious as we have some 50 controller classes and more methods annotated with urls inside it

Right now, i use search-option in eclipse IDE and finding the URL pattern annotated to a method

Is there any easy way, where i can get infos like URL mapped to so-and-so method in so-and-so class ???

Please help me out on this


Solution

  • if you are using Spring MVC 3.x Checkout the link .

    Endpoint documentation controller for Spring MVC 3.x