- 博客(11)
- 收藏
- 关注
这才是真正意义上的微博互粉工具
记得刚开始使用微博的时候,没有什么粉丝关注,哪怕写了非常有意思的微博,也没有人看, 逐渐的对微博失去了兴趣;后来发现不少朋友在四处寻求互粉,心里便萌生了要开发这个微博互粉的想法, 让大家更有动力去写微博。下面是截图:[img]http://dl.iteye.com/upload/attachment/0075/3536/505507db-b78f-39b0-8b77-4b16e...
2012-10-19 14:51:56
331
原创 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
177
原创 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
156
原创 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
127
原创 Interceptor 拦截器
Spring的Interceptor(拦截器)是Controller 方法级别的 当某一个Controller的方法进行request处理的时候 可以通过Interceptor进行拦截, 拦截器可以在方法执行之前, 方法执行完以后(返回ModelAndView) 以及执行完整个流程(直到渲染完View) 进行拦截制作一个Interceptor需要实现org.springframework....
2011-11-27 19:16:30
161
原创 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
137
原创 Swt - Button
在Swt里 按钮的分类普通按钮(SWT.PUSH)单选按钮(SWT.RADIO)多选按钮(SWT.CHECK)箭头按钮(SWT.ARROW)切换按钮(SWT.TOGGLE)按钮的对齐方式样式SWT.LEFTSWT.RIGHSWT.CENTER按钮的外观风格的样式SWT.FLATSWT.BORDER普通按钮(SWT.PUSH...
2011-10-02 00:28:11
202
原创 Swt - Shell的 不同样式
在Swt里面 Shell可充当主要窗口的角色 也可充当子窗口或者对话框的角色 如果要建立一个主要窗口的话 应该在构造方法里面添加Display为参数 如果是创建子窗口或者对话框就应该在构造函数里添加父窗口的ShellShell parent = new Shell(Display display, int style); 建立主窗口Shell dialog = new Shell(...
2011-10-01 23:11:18
260
原创 Spring 单元测试 之 JUnit 4
If you are using JUnit 4 to create tests with the TestContext framework, you will have two options toaccess the managed application context. The first option is by implementing theApplicationConte...
2011-07-09 20:41:00
175
原创 Spring 数据访问 之 JNDI
Many Java EE application servers build in data source implementations that you can configure fromthe server console or in configuration files. If you have a data source configured in an application ...
2011-07-09 19:39:10
202
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
139
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅