- 浏览: 73657 次
- 性别:
- 来自: 北京
-
最新评论
-
ruanjiangjx:
重新修改了方法,支持 方法重载功能!
反射应用
文章列表
sql得到当前系统时间得 日期部分 CONVERT(varchar(10),getDate(),120) 求得到"昨天,今天"日期函数的SQL 所属分类:MS-SQL Server 基础类 ---------------------------------------------------------------------- Convert(Datetime,GetDate(),2) GetDate()得到今天日期2007-03-26 16:14:12.187 1.现在我需要得到只是日期部分,时间部分不要,SQL怎么写? 2.求以下日期SQL: 昨天 明天 最近七天 随 ...
第一个附件 是整个例子
第二个附件 只有源码需要
jcommon-1.0.16.jar
jfreechart-1.0.13.jar
第二个附件 只有jar 包
//通过移动小数点 扩大倍数 1.1111111111111156E14 1.1E15 function scienceNum(value){ if(!isEmpty(value)){ var num=0; if((num=value.indexOf('E'))!=-1||(num=value.indexOf('e'))!=-1){ var doubleStr=value.substring(0,num); var eStr=value.substring(num+1,value.length); eStr=parseInt(eStr); ...
Javascript 返回上一页:
1. history.go(-1), 返回两个页面: history.go(-2);
2. history.back().
3. window.history.forward()返回下一页
4. window.history.go(返回第几页,也可以使用访问过的URL)
例:
<a href="javascript:history.go(-1);">向上一页</a>
response.Write("<script language=javascript>")
...
没时间总结 暂时留个网址
Spring内核研究-管理bean的声明周期一(InitializingBean和init-method)
http://blog.csdn.net/yamiqi/archive/2007/01/08/1476770.aspx
Spring Framework 开发参考手册 之三
http://tech.ccidnet.com/art/3737/20050220/454393_1.html
Spring内核研究-管理bean的声明周期一
http://www.360doc.com/content/07/0327/13/18042_416042.shtml
日期常用函数
- 博客分类:
- javaScript
var now = new Date(); //当前日期
var nowDayOfWeek = now.getDay(); //今天本周的第几天
var nowDay = now.getDate(); //当前日
var nowMonth = now.getMonth(); //当前月
var nowYear = now.getYear(); //当前年
nowYear += (nowYear < 2000) ? 1900 : 0; //
//格式化日期:yyyy ...
cookie概述cookie是浏览器提供的一种机制,它将document对象的cookie属性提供给JavaScript。可以由JavaScript对其进行控制,而并不是JavaScript本身的性质。cookie是存于用户硬盘的一个文件,这个文件通常对应于一个域名,当浏览器再次访 ...
地址:http://wudag7318.blog.sohu.com/37968954.html
//写文件
<script language="javascript" > function saveFile(path,fileName,fileType,content){ var fso = new ActiveXObject("Scripting.FileSystemObject"); //"c:/answer.txt" var file=path+'/'+fileName+'.'+fileType; var ...
//静态类
winTest={ num:'rrr', obj:new Message('messageId_1','messageName_1'), initFun:function (value){
alert('init:'+value);
alert(winTest.obj.messageId);
winTest.test();}, test:function(){alert('test ...
package test;import java.io.File;import java.io.FileInputStream;import java.io.IOException;import java.text.SimpleDateFormat;import org.apache.poi.hssf.usermodel.HSSFCell;import org.apache.poi.hssf.usermodel.HSSFCellStyle;import org.apache.poi.hssf.usermodel.HSSFDataFormat;import org.apache.poi.hssf. ...
package test;
import java.io.FileOutputStream; import java.io.IOException; import java.util.Date; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFCellStyle; import org.apache.poi.hssf.usermodel.HSSFDataFormat; import org.apache.poi.hssf.usermodel.H ...
JS open新窗口的方法详解
2010-07-22 11:07
JS 打开新窗口的方法dedeWindow.Open详解一、window.open()支持环境:JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+二、基本语法:window.open(pageURL,name,parameters) 其中:pageURL 为子窗口路径 name 为子窗口句柄 parameters 为窗口参数(各参数用逗号分隔) 三、示例:<SCRIPT> <!-- window.open ('page.html','newwindow','h ...
js窗口关闭事件
- 博客分类:
- javaScript
window.onbeforeunload=function window.onbeforeunload(){ if (event.clientX>document.body.clientWidth && event.clientY<0 ||event.altKey){ alert(111); }else{
window.event.returnValue=""; return false;
}
}
js窗口关闭事件使用onbeforeunload_handl ...
用pushlet 聊天设计 编辑中。。。。
【一】客户端界面设计 【组织构架】 【联系人】 给人分组 默认是好友组 【群/讨论组】 【最近联系人】【二】逻辑设计 一.消息设计 1.对话消息设计 发送人id message_dispatche ...