码迷,mamicode.com
首页 >  
搜索关键字:connection timed out    ( 41605个结果
java中static程序块和构造函数的执行情况
参考博文:http://blog.csdn.net/gxf212/article/details/3510009class Base { static int a = 1; public Base() { System.out.println(" 55555"); }...
分类:编程语言   时间:2014-05-09 10:45:09    阅读次数:309
The Network Adapter could not establish the connection解决办法
用 oracle net manager 将监听改为IP地址,将服务命名也改为IP地址,然后数据库连接改为IP地址方式不要用localhost
分类:Web程序   时间:2014-05-08 18:35:45    阅读次数:255
java输入输出
1、import java.io.*;//写进文档,然后又在显示器显示出来。public class fileinputstream{public static void main(String[] args) throws IOException {DataOutputStream out = n...
分类:编程语言   时间:2014-05-08 15:40:06    阅读次数:376
异步Socket服务器与客户端
本文灵感来自Andre Azevedo在CodeProject上面的一片文章,An Asynchronous Socket Server and Client,讲的是异步的Socket通信。Socket连接(Socket Connection)Socket服务(Socket Service)连接主机...
分类:其他好文   时间:2014-05-08 14:55:30    阅读次数:404
JDBC连接简介
Connection 连接对象,用于与数据库取得连接 Driver 用于创建连接(Connection)对象 Statement ...
分类:数据库   时间:2014-05-08 09:10:38    阅读次数:466
Io 异常: The Network Adapter could not establish the connection 解决方法
1、IP错误: 在设置URL时错误,例如:jdbc:oracle:thin:@192.168.1.80:1521:orcl 数据库服务器是否正确:ping 服务器IP是否通畅。ping不通则将URL更改正确。 端口号是否正确。 进行一下操作:在DOS上键入sqlplus,检查oracle是否开启 一...
分类:Web程序   时间:2014-05-08 09:07:17    阅读次数:514
wust-1299-结点选择(树形DP)
Problem Description 有一棵 n 个节点的树,树上每个节点都有一个正整数权值。如果一个点被选择了,那么在树上和它相邻的点都不能被选择。求选出的点的权值和最大是多少? Input 第一行包含一个整数 n 。 接下来的一行包含 n 个正整数,第 i 个正整数代表点 i 的权值。 接下来一共 n-1 行,每行描述树上的一条边。 Out...
分类:其他好文   时间:2014-05-08 04:55:03    阅读次数:282
Android4.2.2自增物理按键(frameworks)
当我们修改了frameworks后可能出现: make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38 解决办法:make update-api 在Android中添加物理按键:KEYCODE_HELP 1、Android 增加按键: ScanCode -> KeyCodeLabel ...
分类:移动开发   时间:2014-05-08 04:43:52    阅读次数:468
Java语言程序设计基础篇 循环(四)
①打印:***************for(intx=1;x<=5;x++){ for(inty=x;y<=5;y++){ System.out.print("*");//向下一般的格式for(inty=x;y<=5;y++) } System.out.println(); }②打印:***************for(intx=1;x<=5;x++){ for(inty=1;y<=x;y++){ System.out.print("*");//..
分类:编程语言   时间:2014-05-08 03:41:13    阅读次数:295
java实现——004替换空格
1.创建新的字符串 1 public class T004 { 2 public static void main(String[] args){ 3 System.out.println(replaceBlank("we are happy")); 4 } 5 ...
分类:编程语言   时间:2014-05-08 01:08:18    阅读次数:364
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!