注意点:1、所有和数据库相关的(jdbc)包都是java.sql.*;2、将项目所需的jar包统一复制到web-inf/lib文件夹中。一:sqlsever数据库package dbcon;import java.sql.Connection; import java.sql.DriverManag...
分类:
数据库 时间:
2014-10-10 01:09:23
阅读次数:
222
1, .intern() method, return Stringcall .intern() method, will try to add current string into the pool, if the pool already has the string, the method ...
分类:
其他好文 时间:
2014-10-10 00:22:31
阅读次数:
209
现像:刚安装完的aix系统,设置root密码后,到最后一步保存退出,出现:0513-059ThectrmcSubsystemhasbeenstarted.SubsystemPIDis15484.之后没有了反应。强制重启后,出现:StartingthesyncdaemonStartingtheerrordaemonSysteminitializationcompleted.Settingtunableparameters.....
分类:
其他好文 时间:
2014-10-09 19:30:08
阅读次数:
145
要进行推送服务的第一件事就是获取推送证书。它用来对你通过SSL与APNS通讯进行识别。 在Mac上生成 Apple推送通知SSL证书: 登录到iPhone Developer Connection Portal 并点击 App IDs创建一个不使用通配符的 App ID。通配符 ID 不能用...
分类:
其他好文 时间:
2014-10-09 18:21:47
阅读次数:
147
运行android程序的时候提示:ActivityManager: Warning: Activity not started, its current task has been brought to the front解释:这个不是Android平台的Bug,而是Android本身就是这样一种处...
分类:
其他好文 时间:
2014-10-09 18:16:37
阅读次数:
165
The number of CPU instruction sets has kept growing, and likewise for the operating systems which are able to run and support on more than one CPU sys...
分类:
系统相关 时间:
2014-10-09 17:02:47
阅读次数:
1016
Maximum Subarray
Total Accepted: 28381 Total Submissions: 83696 My Submissions
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For exam...
分类:
其他好文 时间:
2014-10-09 16:27:18
阅读次数:
237
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements fro...
分类:
其他好文 时间:
2014-10-09 15:58:28
阅读次数:
232
Every iPhone developer that has integrated a network connection based application has had to follow the Apple HID (Human Interface Design) rules. This means, that in order to get the Apple reviewers t...
分类:
移动开发 时间:
2014-10-09 15:54:48
阅读次数:
205
清除浮动(clear float)谈拥有布局(has layout)与块级格式化范围(block formatting context)float是网页布局中都要使用的css属性,他为我们灵活布局提供了方便,但同时浮动太多会带来很多麻烦,所以我通常的做法是使用float完后,马上清除他。float的...
分类:
其他好文 时间:
2014-10-09 14:06:53
阅读次数:
223