//============================================================================
// Name : DoubleBuffer.cpp
// Author : Vit
// Version :
// Copyright : Your copyright notice
// Descrip...
分类:
其他好文 时间:
2014-05-22 12:43:51
阅读次数:
349
1、添加jar
2、web.xml配置
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://ja...
分类:
编程语言 时间:
2014-05-22 11:23:45
阅读次数:
436
Gallery和swithcer联合使用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian...
分类:
其他好文 时间:
2014-05-22 11:19:05
阅读次数:
288
1.import javax.servlet.http.HttpServletRequest 导入包出错
导入包出错,通常是包未引入,HttpServletRequest包是浏览器通过http发出的请求, 需要将tomcat/lib 目录下的 servlet-api.jar导入。但是导入后仍然不行,重启eclipse也无法让他生效
最后通过 project -clean来生效的。
...
分类:
系统相关 时间:
2014-05-22 10:48:25
阅读次数:
379
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
...
分类:
数据库 时间:
2014-05-22 10:00:09
阅读次数:
434
Derby数据库是一个纯用Java实现的内存数据库,属于Apache的一个开源项目。由于是用Java实现的,所以可以在任何平台上运行;另外一个特点是体积小,免安装,只需要几个小jar包就可以运行了。下面说下其安装及配置
安装
1).从apache下载Derby数据库(如db-derby-10.10.1.1-bin.zip)并解压到任意目录(如:D:\Derby\db-derby-10.10.1...
分类:
数据库 时间:
2014-05-22 09:05:09
阅读次数:
289
<!--
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the L...
分类:
移动开发 时间:
2014-05-22 08:41:44
阅读次数:
377
起初照着官方文档配,一直出错,貌似官方的文档时错的,查了很多资料,综合整理了一个可行的方案,如下:
0.1包结构
test.demo
test.domain //实体类
test.util
//工具类
0.2导如的jar包
hibernate-4.3.5的required包中的所有
optional包中的c3p0中的所有
下载slf4j,导入slf4j-api.jar...
分类:
系统相关 时间:
2014-05-22 07:35:47
阅读次数:
400
测试源码:
//测试派生类的构造函数的调用顺序何时调用
//Fedora20 gcc version=4.8.2
#include
using namespace std;
class base
{
public:
base()
{
cout<<"base created!"<<endl;
}
~base()
{
cout<<"base destroyed!"<<en...
分类:
编程语言 时间:
2014-05-20 14:12:21
阅读次数:
322
出现此情况,应该是使用了gradle wrapper时候,创建工程时使用的gradle版本比当前使用的版本低得情况。此时log会提示 去修改 project_root/gradle/wrapper/gradle-wrapper.properties这个文件中
distributionUrl=http\://services.gradle.org/distributions/gradle-1.1...
分类:
其他好文 时间:
2014-05-20 14:01:16
阅读次数:
239