网上找了很多代码,总的来说,核心是readyState的状态变化的捕获iframe如下:<iframe frameborder="0" name="readTxt" id="readTxt" width="100%" height="250"></iframe>javascript:function setVisiblity(){ if(document.readTxt.document.readyState== ...
虽然没有必要使用组件,既然用到了,做个备忘:主页:a.jsp加入这样一个按钮<input type="button" name="Submit3" onClick="window.open('downloadTxt.jsp')" value="模板下载" />在downloadTxt.jsp中<%@ page contentType="text/html;charset=gb2312" import="com.common.upload.*" %>&l ...
getResponse的getWriter()方法连续两次输出流到页面的时候,第二次的流会包括第一次的流,所以可以使用将response.reset或者resetBuffer的方法。reset(): Clears any data that exists in the buffer as well as the status code and headers. If the response has been committed, this method throws an IllegalStateException.resetBuffer(): Clears the content of t ...
- 浏览: 9969 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
我的相册
自行车
共 1 张
共 1 张
最近加入圈子
最新评论
-
HashMap使用
你就是在thinking in java 上下载的吧,不过总结的不错
-- by lysmart_8 -
过去有一位年轻和尚,一心 ...
哈哈哈,这个老和尚估计是个高级“和尚”
-- by hydex -
不规范的树结构表查询
一个值得读一下的文章:http://www.itpub.net/redirect ...
-- by hydex






评论排行榜