I'm being asked to take over a piece of code. Being that I am not an seasoned Spring developer, I have a question on what is the URI when both the controller and method does not specify a value for @RequestMapping.
For example, the code looks like this:
@Controller
public class FooController {
@RequestMapping
public String getThis(String input) {
return "This";
}
}
So what is the URL that I need to access the getThis method?
web.xmlorspring-config.xmlfiles to see if there is a default controller being specified or if the named controller (in your caseFooControlleris being named or mapped to a specific URL/URI - blurfus