如何在Spring-Boot中传递String值@RequestMapping("/test").
@RequestMapping("/test")
我想传递String str ="/test"String值RequestMapping(str),请建议如何读取Request Mapping中的String值.
String str ="/test"
RequestMapping(str)
spring spring-boot
spring ×1
spring-boot ×1