- 博客(5)
- 收藏
- 关注
原创 百度搜索 URL 参数
[size=x-large][b]百度搜索URL参数 [/size] [/b] [size=medium] http://www.baidu.com/s?wd=关键字 wd(Keyword):查询的关键词; http://www.baidu.com/s?wd=关键字&cl=3 cl(Class):搜索类型,cl=3为网页搜索,cl=2为图片搜索; http://video.baidu...
2013-09-12 15:27:09 314
原创 struts2+mybatis 入门实例
一个最简单的例子 ,开始准备把spring 也整进来的,可是出了一个错一直没搞定,就先把spring砍掉吧,吧struts和mybatis 整合好了再把spring 加进来。
2013-08-23 15:17:18 173
原创 mybatis配置SQL语句的方式
配置MAPPER的方式有四种,不过现在只用了两种。 一种是通过XML方式配置,另一种是通过接口+注解 先看第一种: [code="java"] select * from file_info limit #{begin},#{size} select * from file_info order by #{column} #{ord...
2013-08-23 15:16:54 102
原创 spring与mybatis 整合中的问题
在spring和mybatis整合中,applicationContext.xml中配置一般会配置两个属性: 1.dataSource这个不多说,可以用mybatis自带的datasource,也可以用连接池。 [code="java"] [/code] ...
2013-08-16 16:13:17 118
原创 web.xml里面配置applicationContext.xml的位置
[quote][b]applicationContext.xml 配置文件的存放位置[/b][/quote] web.xml中classpath:和classpath*: 有什么区别? classpath:只会到你的class路径中查找找文件; classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找. 存放位置: 1:src下面 需要在...
2013-08-16 11:27:00 394
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人