Spring MVC 注解和XML的区别

2025-04-25 03:16:41
推荐回答(1个)
回答1:

首先你的注解在spring.xml中设置过滤了么?第二你的注解加对位置了么 ?像service,control,dao的注解都是不同的。