Eventually, you will learn to cry on the inside. 终有一天,你得学会让眼泪在心里流。 Cry on the inside. I am tired, and I think that I can't hold on it any longer. I tr ...
分类:
其他好文 时间:
2017-01-27 23:44:52
阅读次数:
331
复制文件到站点的 WEB-INF\lib 目录,文件列表如下,黄色突出显示的是必须加入的核心包 struts2-core-2.3.31.jar:struts2 的核心库 xwork-core-2.3.31.jar:由于Struts2是由xwork的延伸 有些类依然关联着 xwork的类 javass... ...
分类:
其他好文 时间:
2017-01-27 15:46:11
阅读次数:
257
参考: http://www.aboutyun.com/blog-9721-986.html http://www.cnblogs.com/jun1019/p/6260492.html 虚拟机中共五个centos系统,每个系统有两个用户root和hadoop:cdh1,cdh2,cdh3,cdh4, ...
分类:
其他好文 时间:
2017-01-24 14:44:16
阅读次数:
342
hibernate的延迟加载与本列记录不一样,延迟加载正常一般用于关联字段,或者大型字段使用。 本列的情况主要用于,某一张表有几十甚至上百个字段,例如财务报表等。但是在使用某些场景是却大多只是用其10几个甚至几个字段。此时就需要有新的方案。 记录位置 http://www.cnblogs.com/t ...
分类:
Web程序 时间:
2017-01-16 22:23:57
阅读次数:
193
Just like in *ngFor, you're able to pass in data into your own structural directives. This is done by declaring the variable using a let statement the ...
分类:
其他好文 时间:
2017-01-16 21:07:42
阅读次数:
145
在freemarker中获取当前日期:${.now}获取当前日期并比较:<#if holdDate?date gt .now?date>.........</#if> 如果要做等于(==)比较的话,可以这样:<#if (content.holdDate)?string("yyyyMMdd") == ...
分类:
其他好文 时间:
2017-01-13 10:22:56
阅读次数:
359
import javax.swing.*; import javax.swing.tree.*; import java.awt.FlowLayout; import java.awt.GridLayout; public class TreeDemo extends JFrame{ JTree j... ...
分类:
其他好文 时间:
2017-01-11 11:59:33
阅读次数:
202
标 题: 【原创】内核ShellCode注入的一种方法 作 者: organic 时 间: 2013-05-04,04:34:08 链 接: http://bbs.pediy.com/showthread.php?t=170959 <!-- google_ad_section_start --> 最 ...
分类:
系统相关 时间:
2017-01-07 15:06:31
阅读次数:
879
#ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX ...
分类:
编程语言 时间:
2017-01-04 22:52:54
阅读次数:
539
一、前言 多线程怎么防止竞争资源,即防止对同一资源进行并发操作,那就是使用加锁机制。这是Java并发编程中必须要理解的一个知识点。其实使用起来还是比较简单,但是一定要理解。 有几个概念一定要牢记: 加锁必须要有锁 执行完后必须要释放锁 同一时间、同一个锁,只能有一个线程执行 二、synchroniz ...
分类:
编程语言 时间:
2016-12-30 18:37:03
阅读次数:
239