上一页 1 2 3 4 5 6 7 ··· 14 下一页
  2015年6月4日
摘要: 引入属性的两种命名空间方式:xmlns:yournamespace="http://schemas.android.com/apk/res/包名"或者 xmlns:yournamespace="http://schemas.android.com/apk/res-auto"因为命名空间引入错误,不会... 阅读全文
posted @ 2015-06-04 18:25 猿类的进化史 阅读(107) 评论(0) 推荐(0) 编辑
摘要: (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, mTextSize, context.getResources().getDisplayMetrics())a.getDimensionPixelSize(R.styleable.... 阅读全文
posted @ 2015-06-04 16:51 猿类的进化史 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Rect rect= new Rect();Paint textPaint = new Paint(Paint.ANTI_ALIAS_FLAG);textPaint.setTextAligh(Paint.Align.Right);textPaint.setTextSize(12);textPaint... 阅读全文
posted @ 2015-06-04 00:06 猿类的进化史 阅读(896) 评论(0) 推荐(0) 编辑
  2015年3月23日
摘要: 1. 脏读 :一个事务读到另一个事务未提交的更新数据。脏读就是指当一个事务正在访问数据,并且对数据进行了修改,而这种修改还没有提交到数据库中,这时,另外一个事务也访问这个数据,然后使用了这个被更新后的数据。2. 幻读 : 一个事务读到另一个事务已提交的新插入的数据。例如第一个事务对一个表中的数据进行... 阅读全文
posted @ 2015-03-23 10:35 猿类的进化史 阅读(157) 评论(0) 推荐(0) 编辑
  2015年3月8日
摘要: 阅读全文
posted @ 2015-03-08 18:12 猿类的进化史 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1、web.xml配置 2、spring-mvc.xml配置 3、spring.xml配置 4、spring-mybatis.xml配置(注意:id为sqlSessionFactory,下边的<property name="sqlSessionFactoryBeanName" value="sqlS 阅读全文
posted @ 2015-03-08 17:09 猿类的进化史 阅读(155) 评论(0) 推荐(0) 编辑
  2015年3月6日
摘要: 在mvc中配置,访问路径就可以了 阅读全文
posted @ 2015-03-06 22:46 猿类的进化史 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 1、需要commons-fileupload.jarcommons-io.jar2、需要在springmvc.xml中 配置存放静态资源的路径,对图片等静态资源放行 3、图片上传页面 4、后台页面@RequestMapping(... 阅读全文
posted @ 2015-03-06 22:45 猿类的进化史 阅读(773) 评论(0) 推荐(0) 编辑
摘要: id: 姓名: 密码: 地址: public class User { private int id; private String name; public int ge... 阅读全文
posted @ 2015-03-06 18:27 猿类的进化史 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: springEncoding org.springframework.web.filter.CharacterEncodingFilter encoding UT... 阅读全文
posted @ 2015-03-06 18:03 猿类的进化史 阅读(1109) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页