会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
蕉叶
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
下一页
2017年11月16日
SSH中applicationContext
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2017-11-16 10:20 蕉叶
阅读(250)
评论(0)
推荐(0)
2017年11月15日
获取绝对地址
摘要: ${pageContext.request.contextPath}
阅读全文
posted @ 2017-11-15 23:08 蕉叶
阅读(87)
评论(0)
推荐(0)
2017年11月10日
spring
摘要: 实例化spring ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml"); context.getBean("名字"); applicationContext.xml <bean
阅读全文
posted @ 2017-11-10 12:34 蕉叶
阅读(82)
评论(0)
推荐(0)
2017年11月9日
myBatisSql基本&动态查询
摘要: 1.@Param("XX")String XXX 注入到SQL语句中#{XX} 2.controller (@RequestParam String XX)
阅读全文
posted @ 2017-11-09 23:09 蕉叶
阅读(87)
评论(0)
推荐(0)
myBatis配置
摘要: 1.读取全局配置文件String resource="mybatis-config.xml"; InputStream is=Resources.getResourceAsStream(resource); 2.创建SqlSessionFactory对象 SqlSessionFactory fact
阅读全文
posted @ 2017-11-09 23:07 蕉叶
阅读(126)
评论(0)
推荐(0)
2017年11月8日
hibernate步骤
摘要: 1.读取并解析配置文件及映射文件 Configuration conf=new Configuration().configure(); 2.依据配置文件和映射文件中的信息,创建SessionFactory对象 1.2.3通常写在HbiernateUtil静态方法中 SessionFactory s
阅读全文
posted @ 2017-11-08 22:02 蕉叶
阅读(178)
评论(0)
推荐(0)
数据库三大范式
摘要: 1.第一范式(1NF)无重复的列 2.第二范式(2NF)属性完全依赖于主键 [ 消除部分子函数依赖 ] 3.第三范式(3NF)属性不依赖于其它非主属性 [ 消除传递依赖 ]
阅读全文
posted @ 2017-11-08 08:44 蕉叶
阅读(89)
评论(0)
推荐(0)
2017年10月7日
springMVC
摘要: web.xml 配置核心控制器dispatcherServlet 加载spring-servlet.xml的配置文件 <servlet> <servlet-name>springmvc</servlet-name> <servlet-class>org.springframework.web.ser
阅读全文
posted @ 2017-10-07 20:37 蕉叶
阅读(133)
评论(0)
推荐(0)
2017年9月21日
spring注释
摘要: 使用注释添加对context声明,自动扫描 <context:component-scan base-package="service,dao"/> @Component("xx") == <bean id ="xx" class=""/> @Repository DAO类标注 @Service 业
阅读全文
posted @ 2017-09-21 10:08 蕉叶
阅读(139)
评论(0)
推荐(0)
2017年9月18日
关于命名空间beans错误
摘要: 命名空间自动生成xmlns:beans="http://www.springframework.org/schema/beans" 测试正常 加载tomcat会报出 cvc-elt.1: 找不到元素 'beans' 的声明 的异常 修改成 xmlns="http://www.springframew
阅读全文
posted @ 2017-09-18 20:51 蕉叶
阅读(260)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告