1、由struts2 框架自身根据struts.xml 中 的映射实例化Action 对象 Action 类代码如下: package?com.hasonger.ssh.action;
import?java.util.Date;
import?com.hasonger.ssh.entity.User;
import?com.has...
分类:
编程语言 时间:
2014-07-22 09:06:04
阅读次数:
328
$dom?=?new?DOMDocument?(?‘1.0‘,?‘gbk‘?);
????$dom->formatOutput?=?true;
????$comment_str?=?‘?file?create?time:?‘?.?date(‘Y-m-d?H:i:s‘,?time())??.?‘?by?tree....
分类:
Web程序 时间:
2014-07-22 08:34:33
阅读次数:
237
1.打开文件:opendir("文件名称");2.读取文件:readdri("文件名称");".$filename.".......".GetFileSize(filesize($file))."..........".date("Y-m-d H:i:s",filectime($file)).".....
分类:
其他好文 时间:
2014-07-22 08:07:34
阅读次数:
221
返回表示指定日期的指定日期部分的整数。语法DATEPART ( datepart , date )参数 datepart 指定要返回的日期部分的参数。有关详细信息,请参阅本主题后面的“备注”部分。 date 返回 datetime 值(或可隐式转换为 datetime 值的值)的表达式。date 参...
分类:
数据库 时间:
2014-07-22 00:39:36
阅读次数:
242
#!/bin/bash
#auto?backup?mysql?every?database;
#date?2014.07.07
#author?firxiao
###mysql_config####
HOST="localhost"????????##mysql主机IP
USER="xxxx"?????????????##用户名...
分类:
数据库 时间:
2014-07-21 10:31:15
阅读次数:
223
function?format_date($time){
????$t=time()-$time;
????$f=array(
????????‘31536000‘=>‘年‘,
????????‘2592000‘=>‘个月‘,
????????‘604800‘=>‘星期‘,
????????‘8640...
分类:
其他好文 时间:
2014-07-21 10:07:32
阅读次数:
177
async与script动态加载都能使文件异步加载,本文叙述它们对页面渲染和load加载的影响方面。目前我用demo.js作为执行文件操作.代码:var now = function() { return +(new Date()); }var t_s = now();while(now() - t...
分类:
Web程序 时间:
2014-07-21 10:02:47
阅读次数:
330
创建表:drop table tcreate table if not exists t (t string) partitioned by (log_date string) row format delimited fields terminated by '\t' lines terminat...
分类:
其他好文 时间:
2014-07-21 08:31:39
阅读次数:
281
1 USE [MapCDE_1] 2 GO 3 /****** Object: StoredProcedure [dbo].[sp_getLocations] Script Date: 04/21/2014 11:27:20 ******/ 4 SET ANSI_NULLS ON ...
分类:
其他好文 时间:
2014-07-21 08:27:55
阅读次数:
336
1 package com.filetest; 2 3 import java.io.File; 4 import java.util.Date; 5 import java.util.Scanner; 6 7 public class findfile { 8 9 ...
分类:
编程语言 时间:
2014-07-21 08:13:26
阅读次数:
259