在看区别之前,首先来看下以下代码:public class TestEqual { /** * @param args * I am not responsible of this code. * They made me write it, against my...
分类:
其他好文 时间:
2014-11-22 12:00:39
阅读次数:
141
JS学习记录:1.html输出: doucument.write("这是html输出!")您只能在 HTML 输出流中使用 document.write。 如果您在文档已加载后使用它(比如在函数中),会覆盖整个文档。2.对事件作出反应:alter("welcome") alert() 函数在...
分类:
Web程序 时间:
2014-11-21 20:19:54
阅读次数:
199
php 开发时一个启用了session_start()页面,由于执行时间过长,导致如果一个用户在访问,另一个用户启用session_start()的时候处于阻塞状态。直到第一个用户完毕 ,第二个才能启用。开始读取。这就是session阻塞。session 默认以文件保存,当一个用户访问session...
分类:
Web程序 时间:
2014-11-21 20:19:53
阅读次数:
180
Generate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a...
分类:
其他好文 时间:
2014-11-21 20:12:47
阅读次数:
175
1、从文件类型上分可分为三种,用ls-l查询,以“一”开头的是文件,以字母“d”开头的是目录(俗称文件夹),以字母“l”开头的是连接。2、剩下的9个分别三个为一组每一组都有四种符号组成分别是“r”,“w”,“x”,“-”。r(read):代表读的权限w(write):代表写的权限x (execuit...
分类:
系统相关 时间:
2014-11-21 18:27:49
阅读次数:
185
Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is .....
分类:
其他好文 时间:
2014-11-21 15:51:15
阅读次数:
232
关闭子窗体时,要刷新父窗体,百度了很多像使用“window.opener.location.reload();”都不行,和easyui框架是有区别的在子窗体里写Response.Write(""); ---不行直接reload重新载入页面代码操作起来方便一点不容易出错easyui的应该是你点击关闭....
分类:
Web程序 时间:
2014-11-21 15:50:54
阅读次数:
195
1. 用Response.Write方法 代码如下: Response.Write(""); 此方法缺陷就是不能调用脚本文件中的自定义的函数,只能调用内部函数,具体调用自定义的函数只能在Response.Write写上函数定 义,比如 Response.Write("");3.普通的添加控件...
分类:
编程语言 时间:
2014-11-21 14:08:34
阅读次数:
210
Given an image represented by an NxN matrix, where each pixel in the image is4 bytes, write a method to rotate the image by 90 degrees. Can you do thi...
分类:
其他好文 时间:
2014-11-21 14:01:17
阅读次数:
119
日期对象:var Udate = new Date();返回/设置年份方法: get/setFullYear()var mydate=new Date();//当前时间2014年3月6日document.write(mydate+"");//输出当前时间document.write(mydate.....
分类:
编程语言 时间:
2014-11-21 12:35:29
阅读次数:
194