日常开发中主要使用到的定义Bean的注解包括(XML方式配置bean暂不讨论):
@Component、@Repository、@Service、@Controller、@Bean
spring MVC模块注解
web模块常用到的注解包括:
@Controller、@RequestMapping、@RequestParam、@PathVariable、@Requestbody
日常开发中主要使用到的定义Bean的注解包括(XML方式配置bean暂不讨论):
@Component、@Repository、@Service、@Controller、@Bean
web模块常用到的注解包括:
@Controller、@RequestMapping、@RequestParam、@PathVariable、@Requestbody