Problem DescriptionDuring summer vacation,Alice stay at home for a long time, with nothing to do. She went out and bought m pokers, tending to play po...
分类:
其他好文 时间:
2014-08-06 22:52:52
阅读次数:
326
异常处理流程1)首先由try{...}catch(Exception e){ System.out.println(e); e.printStackTrace(); }finally{...}结构2)当JVM遇到异常时,会产生一个Exception对象 或 继承自Exception的子类的对象。3)...
分类:
编程语言 时间:
2014-08-06 22:39:22
阅读次数:
281
public Test() throws RepletException { try { System.out.println("Test this Project!") } catch (Exception e) { throw new Exception(e...
分类:
其他好文 时间:
2014-08-06 21:46:32
阅读次数:
196
使用return返回 --create?pro
USE?yfb
go
create?proc?cwqi_test_pro(
?@newName?varchar(20)?out,
?@oldName?varchar(20)?in
?)
as
begin
??set?@newName=@oldName
??return?1
end
--run?pro...
分类:
数据库 时间:
2014-08-06 19:36:12
阅读次数:
582
纠结了好久,终于实现了extjs的下载功能,其实下载的原理很简单,就是给界面一个按钮,让按钮触发后台action,将地址返回给前台。具体实现如下。
//extjs代码,页面
var btn_out_user = new Ext.Button({ ...
分类:
Web程序 时间:
2014-08-06 19:34:32
阅读次数:
283
求2的32次方
普通程序员
Java code ?
1System.out.println(Math.pow(2, 32));
文艺程序员
Java code ?
1System.out.println(1L
2B程序员
Java code ?
1System.out.println(2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*...
分类:
其他好文 时间:
2014-08-06 19:26:42
阅读次数:
261
JSP共有以下9个内置的对象:
request
用户端请求,此请求会包含来自GET/POST请求的参数
response
网页传回用户端的回应
pageContext
网页的属性是在这里管理
session
与请求有关的会话期
application servlet
正在执行的内容
out
用来传送回应的输出
config servlet的构架...
分类:
Web程序 时间:
2014-08-06 19:08:32
阅读次数:
197
Game Description:
1. In a closed door, there will be a circle, and 30 numbers in the circle.
2. Each team (about 10 people) need to take number out of the circle by ascend order.
3. Each team has...
分类:
其他好文 时间:
2014-08-06 19:06:02
阅读次数:
359
1、pig out 狼吞虎咽、大吃特吃Would you like to pig out with us tonight?今晚想不想跟我们一起去胡吃海喝一顿?2、eat up 吃光、吃完、尽情吃You can eat up the rest of the food.你可以把剩余的食物吃光。3、eat...
分类:
其他好文 时间:
2014-08-06 18:38:31
阅读次数:
214
GetAvaliableThread(out workerThreadCount,out iocompletedThreadCount) 函数居然一次返回了两个变量.线程池里的线程按照公用被分成了两大类:工作线程和IO线程,或者IO完成线程,前者用于执行普通的操作,后者专用于异步IO,比如文件和网络...
分类:
编程语言 时间:
2014-08-06 11:51:01
阅读次数:
233