- 博客(4)
- 资源 (3)
- 收藏
- 关注
原创 Spring MVC中@Repository、@Service、@Controller、@Compon的使用及区别
使用Spring MVC注解时,@Repository、@Service、@Controller、@Component有比较大的区别。当一个项目分为dao,service,controller三层以及对应的接口层时,正确使用这四个属性就比较重要了。 1.@Repository。代表仓库. 一般注解在DAO实现类上。 2.@Repository。代表业务. 一般注解在Service实现类上.
2015-05-20 12:22:29 1447
原创 jQuery Treeview默认显示效果
$("#tree").treeview({ persist: "location", collapsed: true, unique: false }) 解释: 1、persist: "location" 记忆折叠的方式。location,页面刷
2015-05-14 21:43:27 2463
原创 KindEditor上传图片
ar editor = KindEditor.create('textarea[name="detail"]', { uploadJson : 'templet/editor_upload_gate/shop${shopId}', width : '100%', height : '300', items: [ 'undo', 'redo', '|', 'justi
2014-07-30 13:53:43 429
转载 jstl(fn函数)使用
JSTL(fn函数) 首先,我们要在页面的最上方引用: 下面是JSTL中自带的方法列表以及其描述: 1.字符串包含问题(区分大小写) fn:contains(string, substring) 假如参数string中包含参数substring,返回true 例如:或者!fn:contains(name, searchString)}"> 2.字符串包含问
2014-07-30 11:14:06 278
框架整合Spring MVC3.23+Spring3.23+Hibernate4.2.3+Activiti5.16.3+Proxool连接池
2015-05-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人