转载至 : http://www.blogjava.net/huamengxing/archive/2009/10/21/299153.htmlStruts2架构图有视频讲解百度一下就可以找到了
我是在 私塾在线看到的 (因为这里放链接处error所以就没上连接了) 请求首先通过Filter c.....
分类:
其他好文 时间:
2014-05-10 07:37:57
阅读次数:
470
原文:http://dean.edwards.name/weblog/2009/03/callbacks-vs-events/先看如下代码:1
document.addEventListener("DOMContentLoaded", function() {2
console.log("Ini.....
分类:
其他好文 时间:
2014-05-10 06:26:41
阅读次数:
273
VS2010 C++ win32 DLL 工程, 添加 rc 文件, 编辑 String
Table。默认情况下英文版本的 rc 文件能够顺序编译通过,为了让工程支持多语言,将字符串修改为其他语言时,编译就会出错error RC2135: file
not found.解决方案参考:[经验之谈]VS...
分类:
其他好文 时间:
2014-05-10 06:12:44
阅读次数:
275
需要每隔一段时间选取最老的商户更新时间戳:
update DP_Shop set DP_Shop.LastDate = now() where DP_Shop.ShopId in (select ShopId from DP_Shop order by LastDate limit 5);
ERROR 1235 (42000): This version of MySQL doesn't ...
分类:
数据库 时间:
2014-05-10 04:22:58
阅读次数:
423
将IP表存入SQL里的程序
写得比较粗糙,还有一点错误,不过能达到效果,请大家测试
create.asp
-----------------------------------------------------------------------
'Option Explicit
Server.Scripttimeout = 1000
On Error Resume N...
分类:
数据库 时间:
2014-05-10 04:22:32
阅读次数:
563
configure: error: APR not found. Please read the documentation.
configure: error: APR-util not found. Please read the documentation....
分类:
其他好文 时间:
2014-05-10 04:20:35
阅读次数:
316
其特点是给定的段列表顺序归并,不像TieredMergePolicy那样按大小排序之后决定。
norm = log(10),levelFloor=log(minMergeSize)/norm,对段列表中的元素,添加level值为log(size)/norm(即使log 10 size)的seg。
从列表位置0开始,取最大的logLevel为maxLevel,levelBottom=(float...
分类:
其他好文 时间:
2014-05-10 03:50:37
阅读次数:
306
'EXCELa.VBS '直接将查询数据结果生成 EXCEL 表,稍做修改后即可
'改成ASP文件放在服务器上面向客户
option Explicit
dim conn,strConnString
Set conn = WScript.CreateObject("ADODB.Connection")
on error resume next
strConnString ="Provid...
分类:
其他好文 时间:
2014-05-10 03:43:27
阅读次数:
375
简单说下实现苹果通知推送服务(APNs)客户端的一些要注意的地方:
使用长连接;sanbox服务器是没用的,调试时直接用“gateway.push.apple.com”域名;对于错误的Notification,苹果会回应一个Error response,里面有个identifier,在这个identifier之后的Notification全都失败;
因此发送者要缓存已经发送的Not...
分类:
移动开发 时间:
2014-05-10 03:33:21
阅读次数:
473
一、合并已排序的两个数组,依次比较两个数组元素大小,并按大小加入到暂存数组B,最后保存到A:Algorithm: MERGE(A, p, q,
r)输入:数组A[p...q]和A[q+1...r],各自按升序排列输出:将A[p...q]和A[q+1...r]合并后的升序排序的新数组01. s←p;
...
分类:
其他好文 时间:
2014-05-10 02:43:47
阅读次数:
549