原本现在文件直接通过超链接可以完成下载,但现在要在url中附带几个参数,并且这些参数要是点击事件触发时的最新值,所以这里使用ajax的方式进行下载然而:1.使用ajax,ajax的返回值类型是json,text,html,xml类型,或者可以说ajax的发送,接受都只能是string字符串,不能流类...
分类:
Web程序 时间:
2015-01-20 17:10:46
阅读次数:
222
【题目】
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without
repeating letters for "abcabcbb" is "abc", which the length is...
分类:
其他好文 时间:
2015-01-20 15:42:24
阅读次数:
132
Mybatis进行id类型、String类型、map类型、ben类型参数传入Sql查询...
分类:
数据库 时间:
2015-01-20 15:40:50
阅读次数:
221
题目:判断101-200之间有多少个素数,并输出所有素数。 程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 public class Test001{ public static void main(String[] args){ ...
分类:
编程语言 时间:
2015-01-20 15:34:38
阅读次数:
216
Microsoft JScript 运行时错误: 安全透明方法“MacActiveX.MacActive.GetComputerMAC()”尝试访问安全关键方法“System.Management.ManagementClass..ctor(System.String)”失败。程序集“MacActi...
分类:
其他好文 时间:
2015-01-20 15:27:41
阅读次数:
217
HTML5版的String Avoider小游戏 http://www.newgrounds.com/portal/view/300760 蛮简单也蛮考验耐心,从游戏起始点移动鼠标到终点位置,鼠标移动过程绘制出移动轨迹的String平滑曲线,整个过程不能碰撞到边界,从技术角度来说其核心就是根据鼠标移...
分类:
Web程序 时间:
2015-01-20 15:25:19
阅读次数:
165
/// /// 售房网下载数据 /// /// /// public static string GetResponseString(string url) { string _StrR...
分类:
其他好文 时间:
2015-01-20 15:21:10
阅读次数:
165
如果客户端是TCP/IP是短连接的情况就没有必要了。 1 type 2 pClientConns = ^TClientConns; // 客户连接 3 TClientConns = record 4 clientid: integer; 5 ip: string; 6 port: str...
分类:
其他好文 时间:
2015-01-20 15:16:52
阅读次数:
256
给出N个节点,M次操作,和p每次操作 对l-r区间的每一个节点+c,若节点值>=p,则加2*c;结点存当前区间伤害最小值,最大值,以及lazy操作。更新到假设最小值大于等于P,或者最大值小于P为止。#include "stdio.h"#include "string.h"struct node{ ....
分类:
其他好文 时间:
2015-01-20 15:13:19
阅读次数:
134
Distinct SubsequencesGiven a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is...
分类:
其他好文 时间:
2015-01-20 15:07:57
阅读次数:
164