码迷,mamicode.com
首页 >  
搜索关键字:maximum value    ( 41834个结果
关于According to TLD or attribute directive in tag file, attribute value does not accept any expressions异常
在做项目时遇到了这个异常,网上一查才知道 JSTL core库的版本问题。 当我们在web.xml中使用: ..... 时 我们在jsp才用方式引入。 而当我们的web.xml是 或 则需要: 在jsp中用方式引入。 若若版本不对应在运行时可能...
分类:其他好文   时间:2014-04-30 19:40:13    阅读次数:443
jquery获得select option的值和对select option的操作
1、jQuery获取Select元素,并选择的Text和Value: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find(.....
分类:Web程序   时间:2014-04-30 19:27:58    阅读次数:555
《Cracking the Coding Interview》——第17章:普通题——题目8
2014-04-28 23:35题目:最大子数组和问题。解法:O(n)解法。代码: 1 // 17.8 Find the consecutive subarray with maximum sum in an array. 2 // O(n) online algorithm. 3 #include...
分类:其他好文   时间:2014-04-29 16:35:28    阅读次数:429
spring 拦截器拦截点的配置
实用正则org.springframework.aop.support.RegexpMethodPointcutAdvisor然后 .*_cache.* 表示拦截...
分类:编程语言   时间:2014-04-29 16:25:10    阅读次数:510
悟以往只不谏,念来者之可追
1.To survive among the ordinary,you must be strong and independent!2.Be a unique person and develop skills so that nobody can replace you!3.Since nans...
分类:其他好文   时间:2014-04-29 15:37:58    阅读次数:567
《Cracking the Coding Interview》——第17章:普通题——题目12
2014-04-29 00:04题目:给定一个整数数组,找出所有加起来为指定和的数对。解法1:可以用哈希表保存数组元素,做到O(n)时间的算法。代码: 1 // 17.12 Given an array of integers and target value, find all pairs in ...
分类:其他好文   时间:2014-04-29 15:08:13    阅读次数:469
Extjs combobox设置默认值
转载:http://www.54mask.com/extjs-combobox-default-value.html相信很多人都遇到了在ExtJS框架中设置combo组件默认值的需求,ExtJS框架并没有提供现成的配置项或者方法来解决此问题,本人认为主要是因为此种需求的应用场景有限且很难达到适应于不...
分类:Web程序   时间:2014-04-29 11:32:46    阅读次数:390
字典value为数组
1.添加元素的时候,先取出数组,再向数组中添加元素:- (void)addPeason:(AddressPeason*)peason{ if(![[peasongetName]isEqualToString:nil]) { for(NSString*stringin[_peasonDiction.....
分类:其他好文   时间:2014-04-29 11:22:45    阅读次数:535
C++ Jsoncpp源代码编译与解析Json
1.Json 数据表示方式介绍 这个可以看之前的一个文章里面有说明:Java解析(读取)Json数据2.C++ Jsoncpp2.1 Jsoncpp介绍 (1)JsonCpp主要包含三种类型的class:Value Reader Writer; Json::Value是jsoncpp中最基...
分类:编程语言   时间:2014-04-29 11:18:46    阅读次数:501
js 验证手机号码
js 验证手机号码 //验证手机号 function isMobel(value) { if (/^1[3-8]+\d{9}$/g.test(value)) { return true; } else { return false; } }
分类:移动开发   时间:2014-04-29 11:12:46    阅读次数:369
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!