今天发现自己连Bundle类都没有搞清楚,于是花时间研究了一下。依据google官方的文档(http://developer.android.com/reference/android/os/Bundle.html)Bundle类是一个key-value对,“A mapping from Strin...
分类:
移动开发 时间:
2014-08-19 20:48:05
阅读次数:
289
1、struts1ajax返回值 public ActionForward preChangeAccountPwd(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletRespons...
分类:
编程语言 时间:
2014-08-19 18:34:25
阅读次数:
185
Color Me LessTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA color reduction is a mapping from a set of discrete colors to a smaller one. The solu...
分类:
其他好文 时间:
2014-08-19 14:37:44
阅读次数:
195
/*Color Me Less
Language:DefaultColor Me Less
Time Limit: 1000MS Memory Limit: 10000K
Total Submissions: 30337 Accepted: 14746
Description
A color reduction is a mapping from a set of discret...
分类:
其他好文 时间:
2014-08-19 10:59:54
阅读次数:
214
JSP过滤器
过滤器的作用是给web请求增加额外的逻辑,每个页面可以被多个过滤器进行处理。过滤器需要在web.xml文件中进行定义,语法如下。过滤器的执行顺序与filter-mapping的定义顺序相同。
FilterName
TestFilter
test-param
test-value
TestFilter
/*
文件上传
浏览器...
分类:
Web程序 时间:
2014-08-18 22:10:33
阅读次数:
357
HAS_ONE(值得注意的是,这是主动关联,外键必须是被关联的表): 1 array(//关联的数据表 7 'mapping_type'=>self::HAS_ONE,//一对一 8 'class_name' => 'artag',//关...
分类:
Web程序 时间:
2014-08-17 22:40:02
阅读次数:
407
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-08-17 16:44:42
阅读次数:
179
如果将Struts2的filter-mapping配置成 struts2 /* 的话,struts2将可以处理无后缀的action请求,如/demo/hello.action 和/demo/hello 是同样的效果。这样有时会出现一些问题,将有一些组件映射为无后缀的请求拦截了,...
分类:
其他好文 时间:
2014-08-16 17:02:10
阅读次数:
220
Virtual addresses from multiple address spaces are translated to real addresses in main memory by generating for each virtual address an address space...
分类:
移动开发 时间:
2014-08-14 13:24:28
阅读次数:
489
No mapping found for HTTP request with URI [/account/login.do] in DispatcherServlet with name 'spring'...
分类:
移动开发 时间:
2014-08-13 18:51:57
阅读次数:
234