1、错误描述
freemarker基本数据类型
张三丰
123,456
Error on line 20, column 8 in type.ftl
Expecting a string, date or number here, Expression flag is instead...
分类:
其他好文 时间:
2014-06-03 00:51:06
阅读次数:
400
今天才发现原来位置变量也可以玩的这么爽!!这是使用位置变量进行文件目录备份:#!/bin/bashDATE=`date +%F` //日期以年月日输出tar
czf $1.$DATE.tar.gz $1 > /dev/null 2>> /opt/$1.bak.log
//打包$1变量包,将错误追加到...
分类:
其他好文 时间:
2014-06-02 17:28:52
阅读次数:
264
1.先编写jsonConfig的初始化代码 private JsonConfigjsonConfig;
public action构造方法() {jsonConfig = new
JsonConfig();jsonConfig.registerJsonValueProcessor(Date.clas...
分类:
Web程序 时间:
2014-06-02 00:38:25
阅读次数:
462
There are a few scenarios in which your activity is destroyed due to normal app behavior, such as when the user presses theBack button or your activity signals its own destruction
by calling finish(...
分类:
其他好文 时间:
2014-06-01 18:18:52
阅读次数:
550
iOS7刚发布的时候,总是出现这个 Can't add self as subview 的崩溃,团队内部没出现过,但是外部用户的crash频频上报这个崩溃。
异常描述和崩溃堆栈是这样的:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Can't add se...
分类:
其他好文 时间:
2014-06-01 17:32:08
阅读次数:
489
select total_user from a_user_no where date_time=(select max(date_time) from a_user_no where
‘2013-05’+ "'=to_char(date_time,‘yyyy-mm’));
通过max 函数来去5月份出现最大日期的数据...
分类:
数据库 时间:
2014-06-01 08:53:00
阅读次数:
312
查询crm_linkman表中,birthday(数据库中为date类型)字段中,月日为5-31的记录(主要用于检索今天有没有联系人生日)
SELECT * FROM crm_linkman WHERE MONTH(birthday) = 5 and DAYOFMONTH(birthday) = 31...
分类:
编程语言 时间:
2014-06-01 08:52:21
阅读次数:
355
在 Java 中, 代表时间和日期的类型包括: java.util.Date 和 java.util.Calendar. 此外, 在 JDBC API 中还提供了 3 个扩展了 java.util.Date 类的子类: java.sql.Date, java.sql.Time 和 java.sql.Timestamp, 这三个类分别和标准 SQL 类型中的 DATE, TIME 和 TIMESTA...
分类:
编程语言 时间:
2014-06-01 08:22:49
阅读次数:
364
add_months(trunc(to_date('2013','yyyy') ,'yyyy'),12)-1 2013年最后一天
trunc(to_date('2013','yyyy') ,'yyyy') 2013年第一天
5月的最后一天
select last_day(to_date('2013-05','yyyy-mm')) d from dual...
分类:
数据库 时间:
2014-06-01 00:07:37
阅读次数:
345
登录RMAN 报ORA-12162:TNS:net service name is incorrectly specified错误
[oracle@localhost admin]$ date
Tue Apr 22 18:06:16 CST 2014
[oracle@localhost admin]$ rman target /
//出现诡异的ora-12162错误,第一反应是TN...
分类:
Web程序 时间:
2014-05-31 22:31:38
阅读次数:
518