从Dom中删除IFrame后,IE9+会回收内存。影响范围:适用于 Internet Explorer 9 以及更高版本。场景(相当隐蔽!!!):在主页面定义一个全局变量,然后让子页面IFrame内的操作去更新这个值。1 //主页面 2 top.G_config = {}; //定义了一个全局变量 ...
分类:
其他好文 时间:
2014-07-09 22:48:21
阅读次数:
279
==========================================xml文件<?xml version=”1.0″ encoding=”GB2312″?><RESULT><VALUE><NO>A1234</NO><ADDR>四川省XX县XX镇XX路X段XX号</ADDR></VAL...
分类:
其他好文 时间:
2014-07-09 00:18:31
阅读次数:
441
//输入数字的汉语拼音,每个拼音的首字母大写。输出该数字的阿拉伯数字。//JiuBaiJiuShiJiu -> 999#include#includeint result = 0;void add(int n,char wei[]){ if(strcmp(wei,"Wan") == 0) ...
分类:
其他好文 时间:
2014-07-08 22:55:14
阅读次数:
387
Git 的BUG小结
Git 在push的时候出现了:
fatal: The remote end hung up unexpectedly
在网上找了很多 发现出现了以下错误提示也可能是相同的问题:
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everythi...
分类:
其他好文 时间:
2014-07-08 21:10:53
阅读次数:
180
Struts1和Struts2区别
1.核心控制器实现不同
2.Action的实现方式不同
3.参数接收方式不同
4.后台验证实现不同
5.Action中绑定值到视图的实现方式不同
6.框架支持的页面显示技术不同
7.页面执行的表达式语言不同
8.Action执行流程不同
9.Action的线程安全方面不同...
分类:
其他好文 时间:
2014-07-08 16:33:35
阅读次数:
273
通用标签和控制标签
第一部分;代码
//前端
Insert title here
访问属性
/tags.action?username=u&password=p">tags
//struct.xml
/tags.jsp
//类包
package com.struts2.tags;
import com.opensymphony.xwork2.Action...
分类:
Web程序 时间:
2014-07-08 16:21:33
阅读次数:
251
软件版本:windows7: Tomcat7、JDK7、Spring4.0.2、Struts2.3、Hibernate4.3、myeclipse10.0、easyui;Linux(centos6.5):Hadoop2.4、Mahout1.0、JDK7;使用Web工程调用Mahout的相关算法,提供监控,查看任务的执行状态。自建Web项目,项目首页如下:1. 准备 项目可以在http://downl...
分类:
其他好文 时间:
2014-07-08 16:10:20
阅读次数:
258
it is much easier to get the same result through PHP because the PHP language offers some global constant variables and built-in functions....
分类:
Web程序 时间:
2014-07-08 12:48:07
阅读次数:
196
艾伦说过,一切学习都是从模仿开始,我也不例外。下面我要说的是两个页面之间的通信问题。假设现有a.html 需要与b.html进行数据交互,a通过iframe加载b.htmla.html click b.html: b here is the content about iframe b...
分类:
其他好文 时间:
2014-07-08 00:24:16
阅读次数:
222