码迷,mamicode.com
首页 >  
搜索关键字:resource is out of s    ( 42511个结果
Java复习第四天---IO流
File类测试   //根据指定的文件名和路径创建File对象 File file = new File("myFile.txt"); //file.exists();检测文件是否存在 boolean exists = file.exists(); System.out.println(exists); //按照file对象指定的路径和文件名创建一个新的文件 ...
分类:编程语言   时间:2014-06-05 09:31:59    阅读次数:293
hibernate 的 org.dom4j.DocumentException: Connection timed out 问题
hibbernate的异常的一种情况 org.dom4j.DocumentException: Connection timed out Connection timed out: connect Nested exception: Connection timed out: connect 出现这个异常的原因之一是读取配置文件超时。通常是在读...
分类:系统相关   时间:2014-06-05 08:52:44    阅读次数:371
Java复习第三天---集合框架的相关知识
集合框架总览: Collection 接口常用方法 //1.add()向集合中添加数据 c.add(apple01); c.add(apple02); c.add(apple03); c.add(apple04); c.add(apple05); //2.isEmepty()检测当前集合是否为空 boolean empty = c.isEmpty(); System.out.println("i...
分类:编程语言   时间:2014-06-05 08:52:09    阅读次数:323
SSI事务问题
搭建SSI框架,使用编程式事务,怎么执行都报错 信息: Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2014-5-28 17:07:32 org.springframework.jdbc.support.SQLErro...
分类:其他好文   时间:2014-06-05 06:06:15    阅读次数:334
leetcode:String to Integer (atoi)
问题 输入:一个表示数字的字符串,需要考虑不同的输入形式。 输出:对应的整数 特殊输入形式: 1.输入开始几个字符为空格 2.考虑正负号 3.数字字符不属于[0,9]时,输出当前结果 4.字符串代表的数字大于INT_MAX或者小于INT_MIN时输出INT_MAX或者INT_MIN。 class Solution { // out of range...
分类:其他好文   时间:2014-06-03 06:30:14    阅读次数:314
Spring/Hibernate Improved SQL Logging with log4jdbc---reference
Hibernate provides SQL logging out of the box, but such logging only shows prepared statements, and not the actual SQL queries sent to the database.It...
分类:数据库   时间:2014-05-31 16:47:16    阅读次数:514
修改VC++2010界面左上角图标
(1)在Resource View中创建或者插入一个新的Icon资源,用于你想要的程序图标,假设ID号为IDI_ICON(这种图标要有16*16和32*32两种格式的,前者用于最小化和列表显示等,后者用于桌面图标和平铺显示等-如你给图片)(2)CTESTDlg::CTESTDlg(CWnd* pPa...
分类:编程语言   时间:2014-05-31 15:23:16    阅读次数:327
HTTP Status 404 - /stove
HTTP Status 404 - /stovetype Status reportmessage /stovedescription The requested resource (/stove) is not available.Apache Tomcat/5.5.26在stove中小实例中没有...
分类:其他好文   时间:2014-05-31 12:58:02    阅读次数:212
Displaying Pins on a Map View
ProblemYou want to point out a specific location on a map to the user.SolutionUse built-in map view annotations. Follow these steps:1. Create a new cl...
分类:其他好文   时间:2014-05-31 12:30:19    阅读次数:240
(备忘)利用openssl完成自签发证书步骤--精华版
#建立 CA 目录结构mkdir -p ./demoCA/{private,newcerts}touch ./demoCA/index.txtecho 01 > ./demoCA/serial#生成 CA 的 RSA 密钥对openssl genrsa -des3 -out ./demoCA/pri...
分类:其他好文   时间:2014-05-31 08:16:41    阅读次数:252
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!