11 2014 档案

摘要:依赖库 spring 3.0配置web.xml文件如下: mywork org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationC... 阅读全文
posted @ 2014-11-22 15:31 ciaos 阅读(601) 评论(0) 推荐(0)
摘要:功能,服务器通过扩展自定义命令,记录上游的服务器返回的特定响应头内容,记录到本地文件中代码如下:/* * Copyright (C) Ciaos */#include #include #include typedef struct { ngx_str_t header; ngx_... 阅读全文
posted @ 2014-11-12 16:43 ciaos 阅读(873) 评论(0) 推荐(0)
摘要:场景一,数据表自动备份(多个数据表字段同步等),使用触发器。如updatelog记录对资源的所有操作日志,reslastlog记录资源最后操作的日志信息。同步方式实现如下://创建表DROP TABLE IF EXISTS updatelog;CREATE TABLE `updatelog` ( ... 阅读全文
posted @ 2014-11-01 08:18 ciaos 阅读(3576) 评论(0) 推荐(0)