今天发现自己连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
环境:比如在一个销售数据里面,用户既要选择年,又要选择月,还要选择日,或者是随意选择其中的一个作为筛选条件,如果是Cube的话是可以通过拖拉不同的维度层级来实现该功能的,但是如果是FM开发的DMR模型呢?答案就是采用ReportStudio中的树状提示,可以实现层级选择的效果.如下图1:拖一个树状提...
分类:
其他好文 时间:
2014-08-19 16:14:34
阅读次数:
206
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
几个不同的物体,在Unity3d中可以将网格合并在一起,用于优化。在Unity3d中构建临时场景如下:建一C#脚本名为"CombineMeshes",挂在Cube上。CombineMeshes.cs内容如下:using UnityEngine;using System.Collections;pub...
分类:
其他好文 时间:
2014-08-19 00:48:03
阅读次数:
344
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