`
文章列表
https://www.oschina.net/question/234345_54813
https://blog.csdn.net/benbenxiongyuan/article/details/24003915
https://www.cnblogs.com/zhaoyan001/p/6365064.html
1、查询指定时间的日志信息 sed -n '/2014-12-17 16:17:20/,/2014-12-17 16:17:36/p' test.log  2、查询行号 grep -n '******' catalina.out   3、查询指定行号的日志信息 sed -n '3,6p' catalina.out
举个例子。在jsp页面可能要用foreach循环遍历。而el表达式里的key可能会带着遍历次数。 如name_1,name_2。 这个时候可以这样。   <c:forEach items="${page.list}" var="obj" varStatus="status"> <c:set var="coupon" value="
  java.sql.SQLException: Access denied for user 'root  '@'localhost' (using password: YES)   困扰我很久的问题。也是各种百度,各种排查。最后得出结论。原来是配置文件中配置的用户名和密码后面有空格。真服了。 配置文件如下。 jdbc_driverClassName = com.mysql.jdbc.Driver  jdbc_url = jdbc:mysql://127.0.0.1:3306/testbase?useUnicode=true&characterEncoding=utf8jdb ...
maven依赖: <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId
maven依赖: <!-- dwr --> <dependency> <groupId>org.directwebremoting</groupId> <artifactId>dwr</artifactId> <version>3.0.2-RELEASE</version> </dependency> ----------------------------------------------------------------------------- ...
    public static String getSignature(String data,String key) throws Exception{        final String ALGORITHM = "HmacSHA1";        final String ENCODING = "UTF-8";        key = "testsecret&";        Mac mac = Mac.getInstance(ALGORITHM);        mac.init(new SecretKe ...
官方说法:   聚集索引   一种索引,该索引中键值的逻辑顺序决定了表中相应行的物理顺序。   聚集索引确定表中数据的物理顺序。聚集索引类似于电话簿,后者按姓氏排列数据。由于聚集索引规定数据在表中的物理存储顺序,因此一个表只能包含一个聚集索引。但该索引可以包含多个列(组合索引),就像电话簿按姓氏和名字进行组织一样。           聚集索引对于那些经常要搜索范围值的列特别有效。使用聚集索引找到包含第一个值的行后,便可以确保包含后续索引值的行在物理相邻。例如,如果应用程序执行 的一个查询经常检索某一日期范围内的记录,则使用聚集索引可以迅速找到包含开始日期的行,然后检索表中所有相邻 ...
学生成绩表(stuscore):姓名:name     课程:subject     分数:score     学号:stuid张三     数学     89     1张三     语文     80     1张三     英语     70     1李四     数学     90     2李四     语文     70     2李四     英语     80     2 1.计算每个人的总成绩并排名(要求显示字段:姓名,总成绩) 答案:select name,sum(score) as allscore from stuscore group by name order ...
http://www.cnblogs.com/JeffreySun/archive/2010/06/24/1627247.html
http://blog.csdn.net/xyh820/article/details/7303330/
http://blog.csdn.net/u011202334/article/details/51509235
http://blog.csdn.net/reggergdsg/article/details/52821502
Global site tag (gtag.js) - Google Analytics