服务器配置第一步:服务器选择;我选的是新浪的http://sae.sina.com.cn/ ,具体如何配置就不用细说了,就相当于租用一台服务器一样第二步:上传代码;共三个件,分别是index.php,oauth2.php,redirectUri.phpindex.php 代码如下:responseM...
分类:
微信 时间:
2014-07-28 19:13:44
阅读次数:
2472
附属脚本可以定义在类(Class)、结构体(structure)和枚举(enumeration)这些目标中,可以认为是访问对象、集合或序列的快捷方式,不需要再调用实例的特定的赋值和访问方法。举例来说,用附属脚本访问一个数组(Array)实例中的元素可以这样写 someArray[index] ,访问字典(Dictionary)实例中的元素可以这样写 someDictionary[key]。
...
分类:
其他好文 时间:
2014-07-28 16:24:24
阅读次数:
193
1.下载所需包 在struts2 官网下载相关包,插入到WebConetent/WEB-INF/lib下,struts2里的包比较多,可以先添加一些基本的包,再根据调试结果添加。我程序添加如下包即可运行:
2.新建一个项目,按1添加包。
3.配置web.xml.主要是添加struts2过滤器
FirstStruts2
index.html
index.htm...
分类:
其他好文 时间:
2014-07-28 16:09:53
阅读次数:
250
columns: [[{ field: 'id', title: '删除', width: 30, formatter: function (value,row,index) { var d = ''; ...
分类:
其他好文 时间:
2014-07-28 15:11:43
阅读次数:
198
前些天发布了LigerUi框架的增、删、改代码,一堆代码真的也没一张图片。有的网友推荐上图,所有今天把涉及到这个框架的开源的留言板共享给大家。在修改的过程中可能有些不足的地方希望大家拍砖。 因为留言板前台展示页基本采用ajax进行操作的,所以前台页面只有一个index.html页可查看。在运行的时....
分类:
Web程序 时间:
2014-07-28 15:08:03
阅读次数:
355
题目: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 ma....
分类:
编程语言 时间:
2014-07-28 11:34:40
阅读次数:
210
题目: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 ma....
分类:
编程语言 时间:
2014-07-28 11:33:50
阅读次数:
278
在项目开始就要开始创建单入口文件,然后运行它,以便让系统产生一个名为INDEX的编译文件; 2.我们所需要的使用的模板就放在这个编译文件的Tpl文件夹下面;但是我们要在这个编译的Tpl文件下面建立一个针对这个控制...
分类:
Web程序 时间:
2014-07-28 00:46:50
阅读次数:
210
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=116&page=show_problem&problem=1535
Problem F
Data Flow
Time Limit
5 Seconds
I...
分类:
其他好文 时间:
2014-07-28 00:17:39
阅读次数:
381
ffmpeg部分机器上有花屏的问题
原代码如下:
while(av_read_frame(formatCtx, &packet)>=0 && !_stop && NULL!=window && bInit) {
// Is this a packet from the video stream?
if(packet.stream_index==videoStream) {
...
分类:
移动开发 时间:
2014-07-28 00:01:10
阅读次数:
847