Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal i...
分类:
其他好文 时间:
2014-08-27 18:45:28
阅读次数:
228
一.安装jdk:下载jdk: http://www.oracle.com/technetwork/java/javase/downloads/index.html 注意下载的是tar.gz结尾的文件,例如:jdk-7u21-linux-i586.tar.gz解压 :我是在home目录下新建了一个j....
分类:
系统相关 时间:
2014-08-27 18:28:18
阅读次数:
424
//转发$this->render('page1',['id'=>3,'mark'=>2]); //显示page1页面 并传递 id mark 2个参数//重定向$this->redirect(['/home/index']); //重定向到首页
分类:
其他好文 时间:
2014-08-27 18:19:08
阅读次数:
239
怎样使的自己的项目不是输入:localhost:8080/你的项目名字/index.html
才可以访问!
过程如下 :
找到tomcat --- config----server.xml
选中右键编辑 打开之后 拖到最下边 找到 下边的地方:
圈出的地方既是需要添加的地方 其中 docBase里的为你自己的项目名称(无需再加index.html)
...
分类:
其他好文 时间:
2014-08-27 16:37:28
阅读次数:
394
一、准备好后台测试数据,过程略二、客户端处理@{ ViewBag.Title = "Index";}Ajax Demo Meals Click the button to Get Meals with an Ajax call ...
分类:
Web程序 时间:
2014-08-27 16:25:48
阅读次数:
203
using System; using System.Collections.Generic; using System.Text; namespace Index { class sample //这个类告诉我们如何使用客户端代码索引器 { priv...
分类:
其他好文 时间:
2014-08-27 16:12:28
阅读次数:
157
如何给destoon商城的列表中和首页添加购物车功能?目前加入购物车的功能只存在商城的详细页面里,有时候我们需要批量购买的时候,希望在列表页就能够使用这个加入购物车的功能。修改步骤见下:例如在商城频道的首页和列表页加这个功能第一步:修改mall/index.htm的模板提示:如果想在首页增加添加到购...
分类:
其他好文 时间:
2014-08-27 16:00:58
阅读次数:
228
key_buffer_size: #*** MyISAM 特有的选项。即使你不使用 MyISAM 表,你仍应该将它设置为 8-64M,因为它也被用于内部的临时磁盘表。这个参数是用来设置索引块(index blocks)缓存的大小,它被所有线程共享,严格说是它决定了数据库索引处理的速度,尤其是索引读的...
分类:
数据库 时间:
2014-08-27 15:59:08
阅读次数:
308
一、 说明 采用CXF框架开发webservice。 所用软件及版本如下。? 操作系统:Window XP SP3。? JDK:JDK1.6.0_07,http://www.oracle.com/technetwork/java/javase/downloads/index.html。? Tomca...
分类:
Web程序 时间:
2014-08-27 14:40:07
阅读次数:
5817
Description
The desire to explore the unknown has been a driving force in human history since the dawn of time. From the earliestdocumented accounts, ancient civilizations had explored the earth by...
分类:
其他好文 时间:
2014-08-27 13:00:27
阅读次数:
256