首先用的是struts2的框架,分两种情况:
1. 集合list里面是值,不是对象
public class myTest {
ArrayList mylist;
public ArrayList getMylist() {
return mylist;
}
public void setMylist(ArrayList mylist) {
this.mylist =...
分类:
Web程序 时间:
2015-08-04 19:15:09
阅读次数:
153
方法一:直接给每个参数指定参数名
Mapper:
public List listNewTask(@Param("userId")String userId,@Param("taskType") Integer type);
xml: 不要加 parameterType 因为这里有String 和 Integer两个类型,这里指定不了
select
...
分类:
其他好文 时间:
2015-08-04 19:09:12
阅读次数:
96
//关键点 ${map[itemKey]} ${map[itemKey]} ${map['fieldLabel']} //使用split函数,等同于java中的split函数 ${x} ${map['fieldLabel']} 后台传递过来的数据List> var ...
分类:
其他好文 时间:
2015-08-04 18:50:32
阅读次数:
109
1、redis简介redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set --有序集合)和hashs(哈希类型)。这些数据类型都支持push/pop、add...
SortListView
带有搜索框的字母筛选器
2015-08-04
更新
下载地址:http://www.see-source.com/androidwidget/list.html?type=3
IndexableListView
英文字母筛选器
2015-08-02 更新
下载地址:http://www.see-source.com/andro...
分类:
移动开发 时间:
2015-08-04 15:47:42
阅读次数:
166
centos 6.6
1. Apache/2.4.12
2. php 5.5.12
3. mysql 5.6.13
# --------------------------------------------------------------------------------
# prepare
# 1. install g++
yum list gcc-c++
yum install ...
分类:
数据库 时间:
2015-08-04 15:42:52
阅读次数:
403
先上效果图
Grid 模式
$('#rdg').datagrid({
//pageNumber:1,
title:'角色列表',
striped: true,
iconCls:'icon-list' ,
//pagination:true,
rownumbers: true,
//singleSelect:true,
me...
分类:
其他好文 时间:
2015-08-04 15:39:39
阅读次数:
167
近段时间很多网友提出监听配置相关问题,客户终端(Client)无法连接服务器端(Server)。本文现对监听配置作一简单介绍,给出PL/SQL Developer 连接Oracle数据库详细配置方法,并提出一些客户终端无法连接服务器端的解决思路,愿对广大网友与读者有一些帮助。 一、监听器(LIST....
分类:
数据库 时间:
2015-08-04 15:30:17
阅读次数:
159
1 function convert(rows){ 2 function exists(rows, parentId){ 3 for(var i=0; i 1 $("#menuTree1").tree({ 2 ...
分类:
其他好文 时间:
2015-08-04 15:20:30
阅读次数:
199
NoSQL 泛指非关系型数据库特点:1.处理超大量的数据 2.运行在便宜的pc服务器集群上 3.击碎了性能的瓶颈Redis是一个高性能的key-value数据库,存储的value类型包括string字符串、list链表、set(集合)、zset(有序集合)。数据缓存在内存中,也可以周期性的把...
分类:
数据库 时间:
2015-08-04 15:00:33
阅读次数:
205