可以使用哪个URL访问如下程序片中的test方法?
@Controller
@RequestMapping("/user")
public class UserController {
@RequestMapping("/test")
public String test() {
return "ok";
}
}http://localhost:xxx/yyy/user
http://localhost:xxx/yyy/test
http://localhost:xxx/yyy/user/test
http://localhost:xxx/yyy/test/user