小编Mad*_*dai的帖子

Spring 如何在没有调试信息的情况下获取参数名称

@RequestMapping("/form")
public String form(Model model, Integer id)
Run Code Online (Sandbox Code Playgroud)

例如,spring 可以知道参数 id 的名称是 id 并在运行时将请求参数的值绑定到它

reflection spring spring-mvc

5
推荐指数
1
解决办法
1003
查看次数

标签 统计

reflection ×1

spring ×1

spring-mvc ×1