XMPP/Smack/Openfire javax.net.ssl.SSLException:
Received fatal alert:
internal_error解决:1、在链接openfire服务器后,线程休眠一段时间,再进行登录login操作。connection.connect();Th...
分类:
其他好文 时间:
2014-05-10 19:39:25
阅读次数:
349
在java中使用sqlite,先下载sqlite的jdbc驱动sqlite-jdbc-3.7.2.jar,在Myeclipse中添加到Build
Path中,然后就可以在项目中使用。package cn.hitech.sqlite;import java.sql.Connection;impor.....
分类:
数据库 时间:
2014-05-05 23:08:01
阅读次数:
486
在java中连接mysql数据库,先要下载mysql驱动mysql-connector-java-5.1.30.zip,解压出.jar文件复制到项目目录中,再Build
Path即可使用。 package cn.hitech.db;import java.sql.Connection;impor.....
分类:
数据库 时间:
2014-05-05 22:37:27
阅读次数:
419
there be意思:表示存在或者发生。英文释义:used to show that sth
exists or happens如果现在进行时,单数时用is,复数时用are。现在我问你一个问题.How many students in the class
room?你怎么回答呢?使用there be...
分类:
其他好文 时间:
2014-05-04 12:30:46
阅读次数:
304
首先先说下现在已调试好的无乱码配置。mySQL的dos的客户端编码配置为(通过set
names gbk 语句设置): character_set_client | gbk character_set_connection | gbk
charac...
分类:
数据库 时间:
2014-05-04 10:51:32
阅读次数:
332
HDU 3038 How Many Answers Are Wrong (带权并查集+区间判断)...
分类:
其他好文 时间:
2014-05-04 09:11:59
阅读次数:
301
什么是JDBC,在什么时候会用到它?JDBC的全称是Java DataBase
Connection,也就是Java数据库连接,我们可以用它来操作关系型数据库。JDBC接口及相关类在java.sql包和javax.sql包里。我们可以用它来连接数据库,执行SQL查询,存储过程,并处理返回的结果。JD...
分类:
数据库 时间:
2014-05-03 23:18:31
阅读次数:
766
一,Persistent Connection 示例教程
1,实现服务器端代码
1),编写服务器 PersistentConnection 代码
项目中 SignalR 目录下创建 PersistentConnection.cs 文件
using System;
using System.Collections.Generic;
using System.T...
分类:
Web程序 时间:
2014-05-03 22:03:28
阅读次数:
349
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5176
Simple Equation
Time Limit: 2 Seconds Memory Limit: 65536 KB
There are many Equations. Some are difficu...
分类:
其他好文 时间:
2014-05-03 17:47:01
阅读次数:
343
Chef wrote some text on a piece of paper and now he wants to know how many holes are in the text. What is a hole? If you think of the paper as the plane and a letter as a curve on the plane, then each...
分类:
其他好文 时间:
2014-05-03 15:49:18
阅读次数:
412