1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #list on line: 17, column: 61, in template: map.ftl in map.ftl
at freemarker.template.Te...
分类:
其他好文 时间:
2014-06-20 13:21:25
阅读次数:
251
介绍给大家一个快速排序的方法:
void sort(int a[ ], int l, int r)
{
int i = l;
int j = r;
int mid = a[(i+j)/2];
do
{
while(a[i]
while(a[j] >mid ) j--;
if( i
{
swap( a[i], a[j] );
}...
分类:
编程语言 时间:
2014-06-20 13:15:03
阅读次数:
292
1、错误描述
六月 03, 2014 11:00:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression nums is undefined on line 10, column 25 in list.ftl."
Expression nums is...
分类:
其他好文 时间:
2014-06-20 12:59:50
阅读次数:
229
u-boot的目的是启动内核,内核位于Flash中,那么u-boot就要将内核转移到内存中,然后执行命令运行之。这些操作是由bootcmd命令完成的。
bootcmd=nand read.jffs2 0x30007FC0 kernel;bootm 0x30007FC0
nand read.jffs2 0x30007FC0 kernel 从Flash读出内核,kernel代表从kernel分区读...
分类:
其他好文 时间:
2014-06-20 09:43:10
阅读次数:
224
客户端:删除一条,索引不变,服务器:向上弹出一条,然后实时查询,就错过了一条,count =
1,pageindex = pageindex * count,代表第几页,请求的是第 几条数据,也可以根据 数组里面有几条数据 就选择加载几条数据,if
(isLoadOne) { [params ...
分类:
其他好文 时间:
2014-06-13 13:56:48
阅读次数:
222
/* 输入员工工资1000-10000之间,并按从大到小输出*/
#include
using namespace std;
int main( )
{
double salarys[500];
int n=0;
double t;
while(cin>>salarys[n])
{
n++; //从cin流读取数据
...
分类:
其他好文 时间:
2014-06-07 15:36:38
阅读次数:
191
最近看c++primer第四版的标准容器vector,讲到对vector容器的插入删除元素会使得end()的迭代器失效的问题,所以不建议程序员对end()的存储。
vector vec;
vector::iterator first=vec.begin();
while(first!=vec.end())
{
first=vec.insert(first,12);
first...
分类:
编程语言 时间:
2014-06-07 13:04:13
阅读次数:
230
解决办法:
(default是当前aspx的名字 onlinemessage是命名空间)...
分类:
Web程序 时间:
2014-06-07 13:01:32
阅读次数:
198
MSG_PEEK标志可以用来读取套接字接收队列中可读的数据,一些情况会用到它,比如为了避免不阻塞而先检查套接字接收队列中可读的数据长度,再采取相应操作。
当然,不阻塞也可采取其他的方法,例如非阻塞式I/O。
MSG_PEEK标志会将套接字接收队列中的可读的数据拷贝到缓冲区,但不会使套接子接收队列中的数据减少,常见的是:例如调用recv或read后,导致套接字接收队列中的数据被读取后而减少,...
分类:
其他好文 时间:
2014-06-07 12:06:33
阅读次数:
441
在vm下redhat5下安装oracle 11g后,登录sqlplus 报:
sqlplus: error while loading shared libraries: /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc:...
分类:
数据库 时间:
2014-06-07 12:00:29
阅读次数:
303