Please find my HomeController and DemoController
class HomeController{
@RequestMapping(value=\"index\")
public void home(){
}
}
class DemoController{
@Reque
Unfortunately, this is not possible. The request mapping has to be unique otherwise the application can't determine which method the incoming request should be mapped to.
What you can do instead is to extend the request mapping:
class HomeController{
@RequestMapping(value="home/index")
public void home(){
}
}
class DemoController{
@RequestMapping(value="demo/index")
public void demo(){
}
}