HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerExceptiontype Exception reportmessage Request processing failed; nested exception is java.lang.NullPointerExceptio...
分类:
编程语言 时间:
2014-11-04 19:42:27
阅读次数:
284
一道简单的模拟题需要要匹配{} 和 $$ 符里面的东西即可//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #inc...
分类:
其他好文 时间:
2014-11-04 19:25:45
阅读次数:
181
null id in entry (don't flush the Session after an exception occurs) 遇到这个异常实属不小心所致,最初看到异出的错误信息时我误认为是主键为空所致。一着急竟然把entry当成了entity理解,真是让人笑话^_^。 其实个该异常信息....
分类:
其他好文 时间:
2014-11-04 19:25:04
阅读次数:
183
本文有关栈的介绍部分参考自网站数据结构。 1. 栈 1.1 栈的定义 栈(Stack)是限制仅在表的一端进行插入和删除运算的线性表。 (1)通常称插入、删除的这一端为栈顶(Top),另一端称为栈底(Bottom)。 (2)当表中没有元素时称为空栈。 (3)栈为后进先出(Last In...
分类:
编程语言 时间:
2014-11-04 17:14:21
阅读次数:
275
最基础的树链剖分啦,存下来当模板#pragma comment(linker, "/STACK:1024000000,1024000000")#include #include #include #define lson rt siz[son[now]]) { son[now...
分类:
其他好文 时间:
2014-11-04 16:38:29
阅读次数:
271
#include
#include
#define ERROR 0
#define OK 1
#define STACK_INT_SIZE 10 /*存储空间初始分配量*/
#define STACKINCREMENT 5 /*存储空间分配增量*/
typedef int ElemType; /*定义元素的类型*/
typedef struct{
ElemType *...
分类:
其他好文 时间:
2014-11-04 15:07:56
阅读次数:
142
今天研究yii的多语言切换,先在baidu搜索搜了一大堆基本都一样,感觉不怎么好,于是乎google, 不得不说技术文章还是google靠谱,因为里面搜到的基本都回去git, stack overflow 等地方找到答案, 在找yii多语言的时候最终搜到了yiiframework里面的一个ext 转到git, git的说明还是比较清晰的,但是配置完成后不能工作,然后阅读他的代码,自己修改了一番,最...
分类:
编程语言 时间:
2014-11-04 15:04:03
阅读次数:
236
操作系统iOS 中应用程序使用的计算机内存不是统一分配空间,运行代码使用的空间在三个不同的内存区域,分成三个段:“text segment “,“stack segment ”,“heap segment ”。段“text segment ”是应用程序运行时应用程序代码存在的内存段。每一个指令,每一...
分类:
移动开发 时间:
2014-11-04 14:49:35
阅读次数:
158
我是看IT界视频学习Zendframework,配置时出现了下面的错误,希望那位大虾指点下?index.php错误提示:Fatalerror:Uncaughtexception'Zend_Controller_Dispatcher_Exception'withmessage'Invalidcontr...
分类:
其他好文 时间:
2014-11-04 14:27:17
阅读次数:
139
tomcat的启动从bootstrap的main方法开始,在main方法中,启动时主要是做了三件事,调用init方法初始化自己,调用catalinaDaemon对象的setAwait方法
设置它的await属性为true,最后调用自己的start方法。
首先看看init方法:
public void init()
throws Exception...
分类:
其他好文 时间:
2014-11-04 13:10:44
阅读次数:
146