第一步在页面中写OnError方法:protected override void
OnError(EventArgs e){Exception ex =
Server.GetLastError();//在服务器获取最新产生的错误Response.Write("Error"+ex.Message);...
分类:
Web程序 时间:
2014-05-14 03:37:17
阅读次数:
303
举例1:使用BeanUtils工具封装用户提交的数据。 1 public static
void main(String[] args)throws Exception { 2 3 // 模拟用户的输入的数据如下 4 5 String name =
"XML基础"; ...
分类:
其他好文 时间:
2014-05-12 12:05:34
阅读次数:
211
/* Endian swapping module.Simple example with
Avalon streaming interfaces and a CSR busAvalon-ST has readyLatency of
0Avalon-MM has fixed readLatency ...
分类:
其他好文 时间:
2014-05-11 23:21:17
阅读次数:
423
java 自定义异常,记录日志简单说明!留着以后真接复制...
分类:
编程语言 时间:
2014-05-11 22:45:18
阅读次数:
377
public class ThreadTest implements Callable {
public String call() throws Exception {
// TODO Auto-generated method stub
wait(10000);
return "hello";
}
}调用代码:
public static void main(Stri...
分类:
编程语言 时间:
2014-05-11 21:27:24
阅读次数:
533
Given an array of words and a length L, format
the text such that each line has exactly L characters and is fully (left and
right) justified.You shoul...
分类:
其他好文 时间:
2014-05-11 15:15:29
阅读次数:
287
这回又是忽略了题目中的一句话:When the coin reaches the cell that has letter ‘*’
it will be there permanently.
就是说当走到这个格子的时候,就可以定住在这个格子的了。不过这个时候也可以从别的方向走过来,所以题目的真正意思是,在k步内走到这个格子使用的最小的修改指令是多少,并不一定需要就在第k步到达这个格子。
...
分类:
其他好文 时间:
2014-05-11 13:06:57
阅读次数:
472
看到第六章了:形形色色的内存攻击技术异常处理结构体 S.E.H Structure Exception
HandlerS.E.H 是 Windows 处理异常的重要数据结构。每个 S.E.H 为 8 字节:包含 S.E.H 链表指针和异常处理函数句柄(两个
DWORD)。1. S.E.H 存放在系统...
分类:
其他好文 时间:
2014-05-11 00:57:15
阅读次数:
643
每当Struts2爆出这样的异常,会很郁闷,原因太多了,只能一一的检查。有的说input页面没指定,有的说namespace有问题,有的说你对应的result有问题,有的说validate不通过,等等。但是在这里,我却不是,我无论如何都找不到原因,差不多花了两个钟,我无意中使用Struts2异常处..
分类:
其他好文 时间:
2014-05-10 09:04:19
阅读次数:
448
系统配置的yum源是163的镜像站,本来想用lsb_release命令查看一下系统的版本等信息,结果显示没有此命令,那就安装其相关软件包吧,用yum-yinstallredhat-lsb相依属性列出了40个软件包,本来没想安装这么多,愣了个神还没有按y键呢系统自己就莫名其妙又继续了,继续就继续吧,..
分类:
其他好文 时间:
2014-05-10 04:01:38
阅读次数:
649