JS实现点击显示与隐藏 点击显示/隐藏#thediv{ width:200px; height:100px; line-height:100px; text-align:center; background-color:green;}function S_h(obj){if(obj.style.display=='block'){obj.style.display='none';
springmvc springMvc是基于MVC架构的web开发框架,是spring框架的一部分location="classpath:config.properties"/>五大组件a. DispatcherServlet (前端控制器)。控制器,相当于大家写的MainServlet。b. HandlerMapping。请求地址和model的对应关系。c. Cont
spring-注解 @PostConstructpublic void init(){//声明周期注解 初始化}@PreDestroypublic void destroy(){//销毁注解}用于延迟加载的注解Lazy(true) true表示延迟加载Scope("prototype") 指定作用域 prototype Singleton ...依赖注入相关注解@Autowired @Q