码迷,mamicode.com
首页 >  
搜索关键字:default    ( 18294个结果
struts Preparable预处理
Action实现Prepareable接口通过prepare()方法实现预处理功能。paramsPrepareParamsStack拦截器栈是在strust2-default.xml中定义的,里面定义了很多拦截器,其中最重要的三个拦截器是:params、prepare、modelDriven。params:负责将请求参数值设置到Action中同名的属性中。prep..
分类:其他好文   时间:2014-11-21 16:41:21    阅读次数:193
phpmailer用smtp发送邮件
<?php//error_reporting(E_ALL);error_reporting(E_STRICT);date_default_timezone_set(‘America/Toronto‘);//date_default_timezone_set(date_default_timezone_get());include_once(‘../class.phpmailer.php‘);//include("class.smtp.php");//optional,getscalledfromwith..
分类:Web程序   时间:2014-11-21 16:32:30    阅读次数:216
Could not find archived log for sequence 1 thread 2 under default destinations SQL
ERROROGG-00446OracleGoldenGateCaptureforOracle,extjms2.prm:Couldnotfindarchivedlogforsequence1thread2underdefaultdestinationsSQL<SELECTnameFROMv$archived_logWHEREsequence#=:ora_seq_noANDthread#=:ora_threadANDresetlogs_id=:ora_resetlog_idANDarchived=‘YES‘..
分类:数据库   时间:2014-11-21 16:31:51    阅读次数:327
CentOS 7 修改系统启动级别
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Targets.htmlViewingtheDefaultTargetTodeterminewhichtargetunitisusedbydefault,runthefollowingcommand:systemctlget-de..
分类:其他好文   时间:2014-11-21 16:30:31    阅读次数:223
nginx反向代理错误duplicate upstream
今天公司让我配置nginx的反向代理,因为之前没有接触过这方面,在修改配置文件之前先把配置文件做了下备份,备份的名称是default.bak.conf,就是因为这个名称在重新加载配置文件的时候出错了,直接报duplicate upstream *** 提示配置文件错误 原因是备份的文件名称错误,不应该以conf结尾,修改成default.conf.bak 解决问题...
分类:其他好文   时间:2014-11-21 16:21:28    阅读次数:202
NGUI的下拉列表Popuplist的制作
NGUI功能强大无比。。。今天写了四篇了才是冰山一角哇!!!!。。。 下面介绍一下下拉列表的制作,首先我们先建立一个Sprite给它添加一个box collider.然后再给他Attach一个popup list的脚本,如下图 当添加完脚本后会有如下属性的界面出现,在Options里面写下你要做的列表内容,default属性是你设定的默认的名字。这样列表就做出了,但是只能选择而...
分类:其他好文   时间:2014-11-21 16:15:58    阅读次数:449
famo.us的事件机制
fao.us第二篇:Engine Events Document events have the opportunity to first be intercepted at the Famo.us Surface upon which the event occurs, then by the on() method of the Context containing that surface, and finally as a default, the Engine itself. 事件首先被发生事件的...
分类:其他好文   时间:2014-11-21 12:50:28    阅读次数:183
freemarker中空值 null的处理 ?exists ?if_exists ?default(“”)
exists用在逻辑判断,而if_exists用来打印东西eg 1: 判断list 是否为空eg 2:${s?if_exists} 判断 s 是否为空,不为空就打印freemarker中空值 null的处理 ?exists ?if_exists ?default(“”)freemarker中空值.....
分类:其他好文   时间:2014-11-21 12:25:52    阅读次数:1116
mysql now()函数调用系统时间不对修正方法
进入mysql命令行方法1.查看时区设置:show variables like '%zone%';select @@time_zone;两者保持与系统时间一致,如果不一致进行如下修改:vi /etc/my.cnf定位到[mysqld]所在的位置,在它的下面加上default-time-zone =...
分类:数据库   时间:2014-11-21 12:20:16    阅读次数:266
C#字符串string和内存流MemoryStream及比特数组byte[]
原文:http://hi.baidu.com/endyli/item/7bf074945de35e1f934f41fe定义string变量为str,内存流变量为ms,比特数组为bt1.字符串转比特数组(1)byte[] bt=System.Text.Encoding.Default.GetBytes...
分类:编程语言   时间:2014-11-21 11:58:22    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!