http://xiehx163.blog.163.com/blog/static/6146679620096792135505/前几天开始用oracle进行WEB开发。机器装的是tomcat6.0
和oracle10g。项目开发好后,当我启动tomcat服务器,且把oracle10g相应的服务启动时...
分类:
数据库 时间:
2014-05-08 14:35:53
阅读次数:
486
public class JdbcUtil { private static
ComboPooledDataSource dataSource =new ComboPooledDataSource(); public static
ComboPooledDataSource getDataSourc...
分类:
其他好文 时间:
2014-05-08 14:32:39
阅读次数:
218
c# 获取字符串中的数字 /// /// 获取字符串中的数字 /// /// 字符串 /// 数字
例子1: public static decimal GetNumber(string str) { decimal result = 0; if (str
!= null && str != str...
分类:
其他好文 时间:
2014-05-08 13:32:21
阅读次数:
347
java.lang.String.indexOf(char
ch)方法返回字符ch在指定字符串中第一次出现的下标索引位置如果字符ch在指定的字符串中找不到,则返回-1示例:import
java.lang.*;public class StringDemo { public static void....
分类:
编程语言 时间:
2014-05-08 13:02:04
阅读次数:
423
今天遇到一些一般不常用,但说不定什么情况下就能用到的C#关键字。转换关键字explicit定义强制转换//
Must be defined inside a class called Fahrenheit:public static explicit operator
Celsius(Fahrenh...
分类:
其他好文 时间:
2014-05-08 12:42:03
阅读次数:
330
今天做了一下老师给的第一套题,第一题是判断一个字符串是否在另一个字符串中:做了一下,感觉有好多种写法,java中的类真的好多啊,要掌握好一些基本类的用法:
package com.exam.e120;
public class java1 {
public static void main(String[]args){
String str1,str2;
str1="I am Tom...
分类:
编程语言 时间:
2014-05-08 00:02:39
阅读次数:
423
很多网站已经不满足于一级标题的展示,可能很多的时候有二级标题,三级标题等等。
那么如何设置二级标题以及如何把二级标题做的好看呢。
下面的代码中注意:
1.为了让二级标题有渐隐渐现的感觉,用了transition样式
2.二级标题的定位始终是一个困扰我好久的难题。
要确保一级标题有position属性(不能没有也不能设为static),只有一级标题(父级标题)设了position属...
分类:
Web程序 时间:
2014-05-07 23:44:04
阅读次数:
477
static BOOL flag=NO;
dispatch_queue_t myQueue=dispatch_queue_create("identifier", NULL);
dispatch_async(myQueue, ^{
for (int i=0; i
NSLog(@"...
分类:
编程语言 时间:
2014-05-07 21:37:21
阅读次数:
305
static GLint vertices[]={25,25,
100,325,175,25,175,325,250,25,325,325};static GLfloat
colors[]={........};glEnableCli...
分类:
其他好文 时间:
2014-05-07 21:13:39
阅读次数:
295
static class Program { public static
System.Threading.Mutex Run; /// /// 应用程序的主入口点。 /// ...
分类:
其他好文 时间:
2014-05-07 21:01:35
阅读次数:
367