自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

这才是真正意义上的微博互粉工具

记得刚开始使用微博的时候,没有什么粉丝关注,哪怕写了非常有意思的微博,也没有人看, 逐渐的对微博失去了兴趣;后来发现不少朋友在四处寻求互粉,心里便萌生了要开发这个微博互粉的想法, 让大家更有动力去写微博。 下面是截图: [img]http://dl.iteye.com/upload/attachment/0075/3536/505507db-b78f-39b0-8b77-4b16e...

2012-10-19 14:51:56 256

原创 Spring Social

Spring Social的核心API [code="java"] package org.springframework.social.connect; /** * A link to a service provider user. * Allows the client application to access or update user information u...

2012-04-29 07:14:39 91

原创 javascript 数组方法

Array.pop() : 删除数组的最后一项 Array.push(): 在数组的末尾添加项,例如: colors.push('red', 'blue'); Array.shift(): 删除数组的第一个项 Array.unshift():在数组的起始位置添加项,例如: colors.unshift('red', 'blue'); Array.sort(Function): 给数组排...

2012-01-06 15:30:33 98

原创 Spring MVC 国际化

Spring MVC是通过实现了LocaleResolver的类来识别用户的locale [b]1. org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver[/b] 默认的locale resolver 他是通过提取request.header的'Accept-Language'的值来解析 [b]2. org.s...

2011-11-28 00:51:53 76

原创 Interceptor 拦截器

Spring的Interceptor(拦截器)是Controller 方法级别的 当某一个Controller的方法进行request处理的时候 可以通过Interceptor进行拦截, 拦截器可以在方法执行之前, 方法执行完以后(返回ModelAndView) 以及执行完整个流程(直到渲染完View) 进行拦截 制作一个Interceptor需要实现org.springframework....

2011-11-27 19:16:30 101

原创 HandlerMapping

当客户端发出Request的时候DispatcherServlet会将Request提交给HandlerMapping, 然后HanlerMapping根据Web Application Context的配置来回传给DispatcherServlet相应的Controller. [color=red][b][size=large]HandlerMapping[/size][/b][/colo...

2011-11-27 16:42:12 101

原创 Swt - Button

在Swt里 按钮的分类 普通按钮(SWT.PUSH) 单选按钮(SWT.RADIO) 多选按钮(SWT.CHECK) 箭头按钮(SWT.ARROW) 切换按钮(SWT.TOGGLE) 按钮的对齐方式样式 SWT.LEFT SWT.RIGH SWT.CENTER 按钮的外观风格的样式 SWT.FLAT SWT.BORDER 普通按钮(SWT.PUSH...

2011-10-02 00:28:11 136

原创 Swt - Shell的 不同样式

在Swt里面 Shell可充当主要窗口的角色 也可充当子窗口或者对话框的角色 如果要建立一个主要窗口的话 应该在构造方法里面添加Display为参数 如果是创建子窗口或者对话框就应该在构造函数里添加父窗口的Shell Shell parent = new Shell(Display display, int style); 建立主窗口 Shell dialog = new Shell(...

2011-10-01 23:11:18 203

原创 Spring 单元测试 之 JUnit 4

If you are using JUnit 4 to create tests with the TestContext framework, you will have two options to access the managed application context. The first option is by implementing the ApplicationConte...

2011-07-09 20:41:00 107

原创 Spring 数据访问 之 JNDI

Many Java EE application servers build in data source implementations that you can configure from the server console or in configuration files. If you have a data source configured in an application ...

2011-07-09 19:39:10 137

Spring 数据访问 之 JDBC

[color=brown][size=large]域模型[/size][/color] [code="java"] public class Vehicle { private String vehicleNo; private String color; private int wheel; private int seat; // Constructors, Getters ...

2011-07-09 07:01:07 89

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