上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 66 下一页

2017年5月10日

idea操作

摘要: archetypeCatalog internal 1字体: 2编码 http://blog.csdn.net/frankcheng5143/article/details/50779149 3部署服务器没有artifaceid http://www.cnblogs.com/soundcode/p/ 阅读全文

posted @ 2017-05-10 19:13 Kooing 阅读(154) 评论(0) 推荐(0) 编辑

2017年4月25日

log4j学习

摘要: 参考:https://my.oschina.net/kkrgwbj/blog/638780 1,在java中写入log4j的语句 java项目,在src中要加上src目录 web相面,getRealPath("/")来获得相对路径咯, 无敌方法,写绝对路径或者添加到构造路径上 下面说properti 阅读全文

posted @ 2017-04-25 11:20 Kooing 阅读(221) 评论(0) 推荐(0) 编辑

2017年4月24日

对实体 "useSSL" 的引用必须以 ';' 分隔符结尾。

摘要: <property name="connection.url">jdbc:mysql://127.0.0.1/cache?useUnicode=true&characterEncoding=utf-8</property> 在mybatis消除mysql,warning的时候,出项了 对实体 "us 阅读全文

posted @ 2017-04-24 19:30 Kooing 阅读(382) 评论(0) 推荐(0) 编辑

JUnit4学习

摘要: 参考:http://www.cnblogs.com/yangxia-test/p/3996120.html JUnit4是一个开源的java单元测试框架,我们只需要引入一个包,就可以使用它的功能 先说说他的常见注解 @Before(每个测试方法执行之前都要执行一次,比如有些数据需要重新赋值 @Aft 阅读全文

posted @ 2017-04-24 18:51 Kooing 阅读(164) 评论(0) 推荐(0) 编辑

2017年4月22日

maven搭建

摘要: http://blog.csdn.net/zhshulin/article/details/30779873 http://blog.csdn.net/zhshulin/article/details/37921705 改自己的settings.xml的国内镜像 <mirrors> <mirror> 阅读全文

posted @ 2017-04-22 10:30 Kooing 阅读(94) 评论(0) 推荐(0) 编辑

2017年4月17日

先锋管理项目学习过程

摘要: 1,id可以设置为int为自增,插入的时候声明表(name,sex....)就可以不管id了 2,c:if的test判断null的时候,!=null写在<%=%>${}里面 3,js中比如window.location.href=" 。。。。。。“的时候不能拼接字符串//其实可以 4,respons 阅读全文

posted @ 2017-04-17 23:04 Kooing 阅读(145) 评论(0) 推荐(0) 编辑

2017年4月11日

myeclipse按.自动提示方法

摘要: 第一步:菜单Window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打勾。 第二步:菜单 Window->Preferences->Java->Editor->Content Assist->Advan 阅读全文

posted @ 2017-04-11 22:38 Kooing 阅读(193) 评论(0) 推荐(0) 编辑

文件上传和下载的新理解

摘要: 几个技术要点。 1,hashcode打散,上传和下载都要同一个算法 2,路径问题,上传的是到服务器那里, this.getServletContext().getRealPath("WEB-INF/upload"); this.getServletContext().getRealPath("/") 阅读全文

posted @ 2017-04-11 11:22 Kooing 阅读(652) 评论(0) 推荐(0) 编辑

2017年4月10日

文件上传和下载

摘要: 一般文件上传并不会放在数据库上,我这是为了测试一下咯 下载类 in1 = resultSet.getBinaryStream("file");//从数据库获得字段名为file的文件 out1 = response.getOutputStream(); 阅读全文

posted @ 2017-04-10 14:29 Kooing 阅读(162) 评论(0) 推荐(0) 编辑

2017年4月8日

java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream异常解决方法

摘要: 使用Tomcat部署Servlet程序时,单步调试跟踪到: List<FileItem> itemList = sfu.parseRequest(request); 总是会报错:Java.lang.NoClassDefFoundError: org/apache/commons/io/output/ 阅读全文

posted @ 2017-04-08 11:32 Kooing 阅读(2561) 评论(0) 推荐(0) 编辑

上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 66 下一页

导航