首页 > spring中@Service和@Controller的区别是什么
@Service注解和@Controller获取请求方式一样吗
@Service是用来标注业务层组件,而@Controller是MVC中的C,其作用类似于struts中的@Action
@Service
@Controller
@Action