摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-11 16:28 guodaxia 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 浮动: float: none|left|right 作用使得标签失去块级标签的独占一行效果,向某个方向靠拢 标签浮动了,也需要占地方,有时候出现未浮动的div覆盖部分浮动div是浏览器的bug情况 使用display属性在表面上看来也可以达到浮动的效果,但是width和height属性会失效 清除 阅读全文
posted @ 2016-05-11 14:47 guodaxia 阅读(205) 评论(0) 推荐(0) 编辑
摘要: spring整合hibernate 1、hibernate使用注解。 daoImpl需要继承HibernateDaoSupport对象,针对给对象的getHibernateTemplate()进行hibernate操作。操作的语句是hql语句。 applicationContext.xml Cat. 阅读全文
posted @ 2016-05-11 11:01 guodaxia 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: hibernate.cfg.xml 中hibernate.hbm2ddl.auto配置节点如下:<properties> <property name="hibernate.show_sql" value="true" /> <property name="hibernate.hbm2ddl.aut 阅读全文
posted @ 2016-05-11 11:00 guodaxia 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dogService' defined in class path r 阅读全文
posted @ 2016-05-11 09:38 guodaxia 阅读(508) 评论(0) 推荐(0) 编辑