今天,用ajax向springMVC的控制器传参数,是一个json对象。({"test":"test","test1":"test1""test2":"test2"})开始的想法是用一个对象来接收这个json对象。但是又不知道具体用什么对象,开始用了一个Object,名字和json对象属性名相同,但...
分类:
编程语言 时间:
2014-05-09 09:59:22
阅读次数:
305
declare @a intselect @a=20--COUNT(*) from
SEC_SecureUser while(@a>0)beginselect top 1 suUserID,SUID from SEC_SecureUser
where SUID not in(select top (...
分类:
其他好文 时间:
2014-05-09 09:58:20
阅读次数:
261
php
如何判断一个常量是否已经定义http://blog.csdn.net/raojinpg/article/details/6222882如果看过手册的人肯定知道,可以直接忽视不过在实际项目过程中有些情况确实需要这么处理。当对功能再次开发的时候,却要不印象其他的功能,这个时候这个判断就有直接的作...
分类:
Web程序 时间:
2014-05-09 09:41:26
阅读次数:
283
戳我去解题Given amxnmatrix, if an element is 0, set its
entire row and column to 0. Do it in
place.这题还是很简单的,就是有点坑,遍历矩阵的时候,每遇到0的时候,我们不能立即将所在行和列置0,否则,到最后矩阵所有...
分类:
其他好文 时间:
2014-05-09 08:51:57
阅读次数:
253
@interface Person : NSObject@property (nonatomic,
copy) NSString *name;@end @interface Student :
Person@end1.Student类无法使用_name来访问Person中属性name,因为当使用@p...
分类:
其他好文 时间:
2014-05-09 08:20:33
阅读次数:
268
基本C/C++、STL(vector、set、map、queue、string、algorithm)枚举、贪心、递归、分治、递推、模拟构造、位运算、常数优化数据结构队列、堆、栈、链表排序(插入、冒泡、快速、归并、堆、桶、基数)二分查找、散列表、并查集、哈夫曼树排序二叉树、左偏树、平衡树(Splay/...
分类:
其他好文 时间:
2014-05-09 08:10:36
阅读次数:
338
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
For example, given n = 3, a solution set is:
"((()))", "(()())", "(())()", "()(())", "()()...
分类:
其他好文 时间:
2014-05-09 02:29:07
阅读次数:
302
sys.c 代码分析
setregid
/*
* This is done BSD-style, with no consideration of the saved gid, except
* that if you set the effective gid, it sets the saved gid too. This
* makes it possib...
分类:
系统相关 时间:
2014-05-09 02:13:12
阅读次数:
621
迷宫问题可以看做是在“图”中求解:已知的两个节点是否连通,以及求某个连通的通路。可以通过图的深度优先遍历求解。
import java.util.HashSet;
import java.util.Set;
class Pos{
public int i;
public int j;
public Pos(int i,int j){
this.i=i;
this.j=j;
}...
分类:
其他好文 时间:
2014-05-09 01:52:20
阅读次数:
312
Exception Combiner允许系统设计者...
分类:
其他好文 时间:
2014-05-09 00:30:36
阅读次数:
488