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

2025-04-27 08:26:15
推荐回答(1个)
回答1:

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