冫^浩

博客园 首页 新随笔 联系 订阅 管理

2014年3月11日 #

摘要: @Repository、@Service、@Controller和@Component@Repository、@Service、@Controller 和 @Component 将类标识为 BeanSpring 自 2.0 版本开始,陆续引入了一些注解用于简化 Spring 的开发。@Repository 注解便属于最先引入的一批,它用于将数据访问层 (DAO 层 ) 的类标识为 Spring Bean。具体只需将该注解标注在 DAO 类上即可。同时,为了让 Spring 能够扫描类路径中的类并识别出 @Repository 注解,需要在 XML 配置文件中启用 Bean 的自动扫描功能,这可 阅读全文
posted @ 2014-03-11 12:15 冫^浩 阅读(170) 评论(0) 推荐(0)

摘要: jsp对控件显示 jquery js对windows media player控制1 (function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=fun... 阅读全文
posted @ 2014-03-11 08:57 冫^浩 阅读(443) 评论(0) 推荐(0)