以登录为例: 1.controller的登录方法: @RequestMapping("/SSOAuth/login") @ResponseBody public ResponseValue login(@Valid @RequestBody LoginParam param, BindingResu ...
分类:
编程语言 时间:
2017-05-09 19:41:21
阅读次数:
131
1.对于执行中的报错,可以在db2命令行下运行命令 : db2=>? SQLxxx 查看对应的报错原因及解决方法。 2.错误SQL0206N SQLSTATE=42703 检测到一个未定义的列、属性或参数名。 SQL0206N "SQL_COU_ALL" is not valid in the co ...
分类:
数据库 时间:
2017-05-09 12:47:22
阅读次数:
753
原题 Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains o ...
分类:
其他好文 时间:
2017-05-09 11:24:05
阅读次数:
162
首先,我们应该知道,表单中,常用的验证操作有: $dirty 表单有填写记录 $valid 字段内容合法的 $invalid 字段内容是非法的 $pristine 表单没有填写记录 $error 表单验证不通过的错误信息, $error支持的验证有:required/minlength/maxlen ...
分类:
Web程序 时间:
2017-05-08 00:20:52
阅读次数:
261
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2017-05-07 17:44:02
阅读次数:
199
AngulairJS表单输入验证 1.表单中,常用的验证操作有:$dirty 表单有填写记录、$valid 字段内容合法的、$invalid 字段内容是非法的、$pristine 表单没有填写记录、$error 表单验证不通过的错误验证信息. 2.验证时,需给表单及需要验证的input设置name属 ...
分类:
Web程序 时间:
2017-05-07 14:58:24
阅读次数:
246
安装完成ruby gem 之后,通过 gem install compass 安装compass~~ 出现如下报错 Could not find a valid gem 'compass' (>= 0) in any repository 然后尝试在 https://rubygems.org/ 下载 ...
分类:
其他好文 时间:
2017-05-06 17:46:34
阅读次数:
850
问题 开发环境:xcode6,iPhone6模拟器 xcode工程编译错误:No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386). 原因 导致这个错误的原因主要是CPU ...
分类:
其他好文 时间:
2017-05-06 01:09:50
阅读次数:
194
2017-5-5 https://leetcode.com/problems/valid-parentheses/#/description http://www.jiuzhang.com/solution/valid-parentheses/ 题目:Given a string containin ...
分类:
其他好文 时间:
2017-05-05 23:21:11
阅读次数:
435
Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return [" ...
分类:
其他好文 时间:
2017-05-05 10:52:49
阅读次数:
93