如何开始创建第一个基于Spring MVC的Controller

2025-04-26 23:36:12
推荐回答(1个)
回答1:

建立好配置以后,在类的方法上加上@RequestMapping注解,当然,你的类需要Controller注解