使用“df -k”命令,以k为单位显示磁盘使用量和占用率。 root@gsg43:/tmp# df -kFilesystem 1K-blocks Used Available Use% Mounted onudev 16462548 12 16462536 1% /devtmpfs 3294808 ...
分类:
其他好文 时间:
2017-01-17 08:50:06
阅读次数:
195
错误提示: SEVERE: Servlet.service() for servlet [example] in context with path [/myproject] threw exception [Request processing failed; nested exception i ...
分类:
其他好文 时间:
2017-01-16 10:59:10
阅读次数:
4333
原因:springmvc默认页面回显,必须在页面的请求域里面添加对应的bean 默认的bean name为command 解决: 在handler里面添加一个对应的bean map.put("employee", new Employee()); 在页面上使用 <form:form action=" ...
分类:
编程语言 时间:
2017-01-14 13:45:56
阅读次数:
227
There is a plethora of classification algorithms available to people who have a bit of coding experience and a set of data. A common machine learning ...
分类:
其他好文 时间:
2017-01-12 21:28:27
阅读次数:
293
1. Cybrary Cybrary takes the open source concept and applies it to IT training. Many of the courses available through the site are related to security ...
分类:
其他好文 时间:
2017-01-12 11:27:59
阅读次数:
288
1、将File、FileInputStream 转换为byte数组: File file = new File("test.txt"); InputStream input = new FileInputStream(file); byte[] byt = new byte[input.availa ...
分类:
编程语言 时间:
2017-01-10 14:39:08
阅读次数:
171
转自:http://southpeak.github.io/blog/2014/07/17/ioszhong-liu-stream-de-shi-yong/流提供了一种简单的方式在不同和介质中交换数据,这种交换方式是与设备无关的。流是在通信路径中串行传输的连续的比特位序列。从编码的角度来看,流是单向 ...
分类:
移动开发 时间:
2017-01-09 22:11:23
阅读次数:
254
在使用selenium+phantomjs的时候在Windows平台下能够正常工作,在Linux下却不能,并得到错误信息: 在ST上找到答案:http://stackoverflow.com/a/36159299/4447404 在初始化driver时传入参数"service_args=['--ig ...
分类:
其他好文 时间:
2017-01-09 16:10:17
阅读次数:
3247
1.右键Project Facets, Convert to faceted from 2.改Dynamic Web Module的Version3.点击下面的Further configuration available…,设置web.xml文件的路径,输入src/main/webapp. Gen ...
分类:
移动开发 时间:
2017-01-08 03:35:29
阅读次数:
303
进入配置文件,路径为:/etc/apache2/sites-available/000-default.conf 然后找到DocumentRoot /var/www/html ,将其更改为 DocumentRoot /var/www ...
分类:
Web程序 时间:
2017-01-06 10:38:21
阅读次数:
218