自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (16)
  • 问答 (1)
  • 收藏
  • 关注

转载 Rational Rose 工具箱

Rational Rose 工具箱 用例图(Use Case Diagram)Unidirectional Association : 单项关联(带箭头直线)Actor:参与者Use Case:用例(空心椭圆)Dependency or instantiates:依赖或实例(带箭头虚直线)Generalization:

2013-06-20 15:05:01 2542

转载 获取applicationContext的几种方式

方法一:在初始化时保存ApplicationContext对象代码:ApplicationContext ac = new FileSystemXmlApplicationContext("applicationContext.xml");ac.getBean("beanId");说明:这种方式适用于采用Spring框架的独立应用程序,需要程序通过配置文件手工初始化Spring的情

2013-04-19 12:03:13 2429

原创 TCP/IP协议

图一、TCP报文结构图二、TCP连接 三次握手第一次:主机A(客服端)先初始化 SYN(同步比特)为1,并初始化一个SEQ(序号),传送给主机B(服务端);(补充1:服务端B收到syn为1的报文请求后,就会在服务端初始化环境 和 变量)(补充2:TCP连接中,被传送的数据 每个字节都别编上了一个序号,SEQ序号段的值 就是储存了本报文第一个字节的序号)第二次:主机B(服

2013-03-21 15:32:32 729

转载 spring事务配置的五种方式

转载自:http://www.blogjava.net/robbie/archive/2009/04/05/264003.htmlSpring事务配置的五种方式    前段时间对Spring的事务配置做了比较深入的研究,在此之间对Spring的事务配置虽说也配置过,但是一直没有一个清楚的认识。通过这次的学习发觉Spring的事务配置只要把思路理清,还是比较好掌握的。    总结如下:

2013-03-13 15:50:48 512

转载 MyBatis核心SqlSessionFactory的创建

SqlSessionFactory是每个MyBatis应用的核心 其实现方式有两种,使用配置文件或使用JAVA编码。 1.配置文件实现Xml代码  xml version="1.0" encoding="UTF-8" ?>    "http://mybatis.org/dtd/mybatis-3-config.dtd">    configura

2013-02-25 10:23:19 1375 1

原创 Pattern - Matcher

public class PatternTest { public static void main(String[] args) { String source = "名字${name},性别${sex},年龄${age}。"; String regex = "\\$\\{\\w+}"; Pattern pa = Pattern.compile(regex); Mat

2013-01-24 10:02:05 411

原创 存储过程-cursor

-----存储过程游标使用篇------- 1.隐式游标 : 隐式Cursor是系统自动打开和关闭Cursor. --SQL%ROWCOUNT 整型 代表DML语句成功执行的数据行数 --SQL%FOUND  布尔型  值为TRUE代表插入、删除、更新或单行查询操作成功 --SQL%NOTFOUND 布尔型 与SQL%FOUND属性返回值相反 --SQL%ISOPEN 布尔型

2013-01-21 16:57:59 879

原创 oracle 创建用户需知

建议放入plsql中查看,可以直观的查看关键字 /*1.创建表空间*/create tablespace pro_test logging datafile 'D:\oracleXE\oradata\pro_test\pro_test.dbf'size 32m autoextend on next 32m maxsize 2048m extent management local;/*

2013-01-11 14:18:57 362

转载 spring 定时器 (TimerTask and Quartz)

TimerTask 1. class extends TimerTask 2. 配置文件 1000 Quartz(spring.jar,quartz.jar,commons-logging-

2013-01-10 14:38:11 567

原创 EL表达式,ognl表达式 集合过滤

${list[name='xxxx']}${param.name} == request.getParameter('name')

2012-12-31 17:19:40 598

原创 oracle备忘录

1.order by 与rownum如果非主键排序则会先生成rownum 再order by2.以下解决方法也可以使用rownum()函数select row_number() over(order by 非主键列 desc) rn from table_name3.case whenthenelseend3.cursor(cursor cursor_x is

2012-11-20 10:39:24 311

原创 常用基本配置

struts2:web.xml struts2 org.apache.struts2.dispatcher.FilterDispatcher actionPackages

2012-10-31 09:41:59 352

原创 sql - 分组取前几条数据 and 几条数据形成一字符串

1.ROW_NUMBER() OVER()- 分组取前几条数据 select * from (select id , ROW_NUMBER()  OVER(partition   by   分组列名   order   by   排序列名)  as  RN) where RN 2.WM_CONCAT()-几条数据形成一字符串   SELECT H_ID,wm_concat(dp_dep

2012-10-29 15:51:09 547

转载 【收集】数据库索引

http://www.oschina.net/question/30362_4057

2012-10-25 14:07:35 356

原创 json字符串解析成Array

function f1(){ var dat="[{1:1},{2:2}]"; var data=eval(dat); if(data.length!=0){ for(var s in data){ for(var s1 in data[s]){ alert(s1+"="+data[s][s1]); } }

2012-10-23 17:26:07 691

原创 关于前台页面引入头和尾操作

1 : 一般情况引入方法: ......... 2 : 包含式引入:修改1 and 2.jsp 例如:1.jsp ---->填充你所需样式,注意此处并没有 this is old messege 2.jsp this is old messeg

2012-08-30 13:35:14 642

原创 struts2验证框架xml文件命名规则总结

class Test{   execute(){}}验证xml命名:Test-validation.xmlclass Test{  add(){}  del(){}}struts.xml配置:   验证xml命名:Test-user_add-validation.xml 注意:配置文件应放在与MyAction的相同目录下,而且

2012-08-30 11:31:49 1982

转载 spring security

SpringSpring Security11个步骤为应用程序添加安全防护历史与现状自2003年出现的Spring扩展插件Acegi Security发展而来。目前最新版本为3.x,已成为Spring的一部分。为J2EE企业应用程序提供可靠的安全性服务。Authentication vs. Authorization区分概念验证与授权验证这个用户是谁

2012-08-16 11:23:40 448

music 播放器源码

music 播放器源码

2016-01-18

redis window

redis window

2015-05-29

redis linux

redis linux

2015-05-29

JEECMS V6 第二部分

JEECMS V6 第二部分

2015-05-11

JEECMS 精简第二部分 共2

JEECMS 精简第二部分 共2

2015-05-11

nsq linux 安装文档

nsq linux 安装文档 包含中文英文

2015-03-05

nsq-0.3.2.linux

nsq-0.3.2.linux-amd64.go1.4.1.tar.gz go 开源项目 nsq for linux 官网上很难下载

2015-03-05

nsq-master源码

Quick Start The following steps will run a small NSQ cluster on your local machine and walk through publishing, consuming, and archiving messages to disk. follow the instructions in the INSTALLING doc. in one shell, start nsqlookupd: $ nsqlookupd in another shell, start nsqd: $ nsqd --lookupd-tcp-address=127.0.0.1:4160 in another shell, start nsqadmin: $ nsqadmin --lookupd-http-address=127.0.0.1:4161 publish an initial message (creates the topic in the cluster, too): $ curl -d 'hello world 1' 'http://127.0.0.1:4151/put?topic=test' finally, in another shell, start nsq_to_file: $ nsq_to_file --topic=test --output-dir=/tmp --lookupd-http-address=127.0.0.1:4161 publish more messages to nsqd: $ curl -d 'hello world 2' 'http://127.0.0.1:4151/put?topic=test' $ curl -d 'hello world 3' 'http://127.0.0.1:4151/put?topic=test' to verify things worked as expected, in a web browser open http://127.0.0.1:4171/ to view the nsqadmin UI and see statistics. Also, check the contents of the log files (test.*.log) written to /tmp. The important lesson here is that nsq_to_file (the client) is not explicitly told where the test topic is produced, it retrieves this information from nsqlookupd and, despite the timing of the connection, no messages are lost.

2015-03-02

ueditor百度插件文档和api

ueditor百度插件文档和api 1.4.3版本 gbk版本

2014-11-24

ueditor1.4.3-jsp-gbk api和帮助文档

ueditor1.4.3-jsp-gbk api和帮助文档

2014-11-24

ExtJS4.0 中文版帮助文档

ExtJS4.0 中文版帮助文档.chm Demo + api

2014-11-24

百度插件 ueditor1.4.3 Demo + api

百度插件 ueditor1.4.3 Demo + api

2014-11-24

ueditor api + demo

jsp: gbk版本 ueditor api + demo

2014-11-24

springMVC + mybatis

personal:springMVC + mybatis

2014-10-14

百度文库在线预览+struts2

mysql 数据库,代码很烂,还刚学着写,嘎嘎。

2012-06-14

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除