自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(67)
  • 收藏
  • 关注

原创 Java Annotation

http://www.javachen.com/2010/01/java5-annotation/ http://www.blogjava.net/ericwang/archive/2005/12/13/23743.html   3 Built-in annotation:OverrideDeprecatedSuppressWarnings

2010-03-31 14:47:00 502

原创 编码问题详解

计算机的数据是由1和0组成,这种数据在这里称作基本数据或物理数据人们所理解的文字和符号在这里称作逻辑数据* 编码是物理数据和逻辑数据的映射关系 * 编码是读写物理数据的契约 * 编码是计算机的"词汇量",不同编码表达范围不同,如:ASCII和GBK,这是由于排列组合的结果 * 编码间可以互相转换(通过Unicode),但可能会造成丢失逻辑信息例子:这里有两个不同的编码规则

2006-04-13 09:21:00 1744

转载 生于七十年代的尴尬

尴尬一:好不容易考上大学,却发现不仅国家不包分配,连本科文凭都不值钱了. 尴尬二:千辛万苦进了党政机关企事业单位,正赶上人家下岗,新人又怎么了! 尴尬三:97年,全国取消福利分房,那个时候七十年代出生的人刚刚参加工作。 尴尬四:小时候教育要做个诚实孩子,成年后却不得不抽假烟、喝假酒、说假话,上了拿假文凭人的当,在假发票上签了字,最糟心的是,看场足球,都是假球。 尴尬五:计划经济的教育绝对抹杀个性,

2006-04-13 08:19:00 1004

原创 禁止页面缓存

1. JSP/Servlet          response.setHeader("Pargma", "No-cache");       response.setHeader("Cache-Control", "no-cache");       response.setDateHeader("Expires", 0);   %>2. HTML                  

2006-04-04 09:58:00 1415

原创 Maven Standard Folder Structure

src/main/java Application/Library sources src/main/resources Application/Library resources

2006-04-03 15:41:00 1774 1

转载 Sample log4j.prpoerties

# An example log4j configuration file that outputs to System.out.  The# output information consists of relative time, log level, thread# name, logger name, nested diagnostic context and the message in

2006-03-29 18:08:00 1684

转载 当我们不再年轻

在这个时代,有很多很多的年轻人,揣着各种专业的毕业证,近不及待的丢掉根本没有读懂的课本,带着指点江山的伟大理想和对名利的憧憬挤进IT这个“高科技”产业。同样,好几年前,我的身边也充满着各种鼓动者:舆论的声音都在谈论年轻富有的IT名人,对于一个极度缺乏成就感,渴望被别人承认的年轻人来说,这是无可阻挡的诱惑,于是笃信IT业就像传说中那样,可以苦干几年coder,转后转行做管理,赚满荷包,就踢开这些辛苦

2006-03-27 13:36:00 851

转载 为大型项目提供的 Ant 1.6 新特性

为大型项目提供的 Ant 1.6 新特性作者:Stefan Bodewig 了解 Ant 1.6 的新特性以及它们如何影响您组织编译过程的方式。 虽然 Ant 版本的 1.5.x 系列在任务级方面有很大的改善,但它没有改变人们使用 Ant 的方式。而 An

2006-03-22 15:17:00 1204

转载 ClearCase四大功能详述 - 建立管理

ClearCase四大功能详述(建立管理) 请作者跟我们联系     使用ClearCase,构造软件的处理过程可以和传统

2006-03-21 15:51:00 1091

转载 ClearCase四大功能详述 - 过程控制

ClearCase四大功能详述(过程控制) 请作者跟我们联系     软件开发的策略和过程由于行业和开发队伍的不同而有很大

2006-03-21 15:50:00 1047

转载 ClearCase四大功能详述 - 版本控制

ClearCase四大功能详述(版本控制) 请作者跟我们联系     ClearCase的核心功能是版本控制,它是对在软件

2006-03-21 15:49:00 1200

转载 ClearCase四大功能详述 - 工作空间管理

ClearCase四大功能详述(工作空间管理) 请作者跟我们联系     快速、有效的工作空间建立对于提高个人和团队的效益

2006-03-21 15:49:00 917

转载 旷世奇才 世纪球王:迭戈-马拉多纳

“我用一个足球能做到的,马拉多纳用一个桔子也能做到……”---普拉蒂尼  1960年10月30日,马拉多纳(Diego Armando Maradona)出生在布宜诺斯艾利斯的维拉-费奥里托区,1岁在教堂做洗礼时,幼小的他哭闹挣扎,需要两个大人按住才能完成仪式。若干年后,类似的情况在足球场上重现,要想“制服”马拉多纳,一两个人可不够。  “卡拉多纳!”  3岁时,马拉多纳从父亲那里得到

2006-03-14 09:26:00 1495

原创 Polymorphism in XSL

 Polymorphism in XSLNote the bold-faced part- PageFrm.xsl        http://www.w3.org/1999/XSL/Transform">                                                                Test                     

2006-03-02 16:47:00 819

原创 提交中文问题解决GET/POST

 String q1 = request.getParameter("q1");  if(q1==null) q1 = ""; String q2 = request.getParameter("q2"); if(q2==null) q2 = ""; q1 = new String(q1.getBytes("8859_1"),"UTF-8"); q2 = new String(q2.getByte

2005-07-07 09:15:00 930

原创 XML Design

XML Design- DTD1. 不能定义如下的element   的必须有和   的必须有2. 没有继承3. 不能定义一个filed验证语法    xxxxx只能是5位数字4. 不是xml Format, so 不能被标准的xml解析器解析- 如何关联一个DTD   - Attribute 还是 Element ?Forced choises1. The data contai

2005-07-05 10:34:00 1407

原创 String与StringBuffer

String的创建  String s = "hello";  JVM先根据内容"hello"查找对象,如果没有找到,则在heap上创建新对象,并将其赋予s1,否则使用已经存在的对象  String s = new String("hello");  JVM直接在heap上创建新的对象,所以在heap中会出现内容相同,地址不同的String对象String的比较  "=="        比较地址

2005-06-21 10:14:00 782

原创 MSSQLServer JDBC Driver + Tomcat Configuration

You can only get the official driver direct from Microsoft (this link gives direct access without having to go through the #$@!ing .NET/Passport login). Note that Microsoft loves to rearrange their si

2005-05-17 13:35:00 1214

原创 JDBC Call Store Procedure

 Connection conn = ...;java.sql.CallableStatement cstmt = conn.prepareCall("{?=call sp_name(?)}");cstmt.setString(2, "xxx");cstmt.registerOutParameter(1, java.sql.Types.INTEGER);ResultSet rs = cstmt.e

2005-05-16 11:34:00 1294

原创 CA常识问答

7、什么是CA  CA的英文全称是Certificate Authority,即证书授权中心,是数字证书的发行机构。8、什么是数字证书  数字证书是一个经证书授权中心数字签名的包含公开密钥拥有者信息以及公开密钥的文件。最简单的证书包含一个公开密钥、名称以及证书授权中心的数字签名。  数字证书是标志网络用户身份信息的一系列数据,用来在网络通讯中识别通讯各方的身份,即要在Internet上解决"我是谁

2005-04-26 11:11:00 1889

转载 Java加密和数字签名编程快速入门

本文主要谈一下密码学中的加密和数字签名,以及其在java中如何进行使用。对密码学有兴趣的伙伴,推荐看Bruce Schneier的著作:Applied Crypotography。在jdk1.5的发行版本中安全性方面有了很大的改进,也提供了对RSA算法的直接支持,现在我们从实例入手解决问题(本文仅是作为简单介绍):   一、密码学上常用的概念   1)消息摘要:  这是一种与消息认证码结合使用以确

2005-04-26 09:19:00 953

原创 Tomcat Ant Tasks

TomcatAntTasks Search Wiki:    Your trail:  --------------------------------------------------------------------------------I finally figured out how to use Tomcats Ant Tasks (install, remove, reload

2005-04-24 21:26:00 1573

原创 Load Balancing Web Applications

Load Balancing Web Applicationsby Vivek Viswanathan09/28/2001 This article offers an overview of several approaches to load balancing on Web application server clusters. A cluster is a group of server

2005-04-23 11:22:00 1380

原创 Tomcat4 ClassLoader How To

The Tomcat 4 Servlet/JSP ContainerClass Loader HOW-TOprint-friendlyversion Quick StartThe following rules cover about 95% of the decisions that application developers and deployers must make about whe

2005-04-22 08:40:00 789

原创 String object's properties and methods

String objectThe String object is used to work with text.The String objects properties and methods are described below:NN: Netscape, IE: Internet ExplorerPropertiesSyntax: object.property_namePropert

2005-04-07 10:34:00 767

原创 Math object's properties and methods

The Math objects properties and methods are described below:NN: Netscape, IE: Internet ExplorerPropertiesSyntax: object.property_namePropertyDescriptionNNIE EReturns the base of a natural logarithm23

2005-04-07 10:29:00 757

原创 Date object's properties and methods

The Date objects properties and methods are described below:NN: Netscape, IE: Internet ExplorerPropertiesSyntax: object.property_namePropertyDescriptionNNIE constructorContains the function that crea

2005-04-07 10:27:00 749

原创 The Boolean object's properties and methods

The Boolean objects properties and methods are described below:NN: Netscape, IE: Internet ExplorerPropertiesSyntax: object.property_namePropertyDescriptionNNIE constructorContains the function that c

2005-04-07 10:24:00 720

原创 Array object's properties and methods

The Array objects properties and methods are described below:NN: Netscape, IE: Internet ExplorerPropertiesSyntax: object.property_namePropertyDescriptionNNIE constructorContains the function that cre

2005-04-07 10:20:00 676

原创 SQL Quick Reference

SQL SyntaxStatementSyntaxAND / ORSELECT column_name(s)FROM table_nameWHERE conditionAND|OR conditionALTER TABLE (add column)ALTER TABLE table_name ADD column_name datatypeALTER TABLE (drop column)ALTE

2005-04-07 10:01:00 1054

原创 Service layer sketch

2005-04-04 11:59:00 707

原创 Struts - Html:link

  - LinkName    EDIT    8 is request.getAttribute("attrId")  - LinkName    EDIT    8 is [request|session|application].getAttribute("idBean").getId()  - Multiple Parameters            java.util.HashMap

2005-03-30 16:45:00 811

原创 Java I18N

- What to be internationalized ?   Messages   Labels on GUI   Online help   Sounds   Graphics   Icons   Dates   Times   Numbers   Currencies   Measurements   Phone Numbers   Honorifics and personal ti

2005-03-29 11:31:00 817

原创 Tip : How to instantiate ActionForm(sub-class) base on form name

Assume form name is "roleForm", and type is DynaValidatorForm        DynaValidatorForm roleForm = (DynaValidatorForm) mapping.getModuleConfig()                .findFormBeanConfig("roleForm")          

2005-03-25 09:28:00 704

原创 Struts Message Resources

Struts Message Resources作者:Nick Heudecker    来自:未知总览许多刚刚学习Struts的程序员在使用Struts的MessageResources特性的时候会遭遇很多困难。本文将试图阐述MessageResources特性的优点并给出了具体的例子说明它的用法。 作者: Nick Heudecker, System Mobile Inc.概述

2005-03-25 09:19:00 4279

原创 How to integrate struts i18n to displaytag

Add the following into displaytag.propertieslocale.resolver=org.displaytag.localization.I18nStrutsAdapter    Retrieve Locale via Struts    Retrieve Locale via Strutslocale.provider=org.displaytag.loca

2005-03-24 13:30:00 1199

原创 CSS2盒模型的3D示意图

CSS2盒模型的3D示意图作者:阿捷 2004-6-25 10:16:14CSS2中的盒模型是关系到我们排版定位的关键,例如就遵循盒模型规范。盒模型定义的margin,background-color,background-image,padding ,content,border,初学者经常会搞不清楚它们之间的层次、关系和相互影响。这里提供一张盒模型的3D示意图,希望便于你的理解和记忆。 原图出

2005-03-24 11:16:00 778

原创 Simple 2 column CSS layout

Simple 2 column CSS layoutThis is a tutorial on how to use CSS to create a simple two column layout. The layout also has a header, a horizontal navigation bar, and a footer. It is also horizontally ce

2005-03-24 11:01:00 911

原创 伴随着Web标准发展

伴随着Web标准发展建议与好的实例原作:Roger Johansson, 456 Berea Street (翻译:x5, x5studio) Last updated 2004-11-24 There is also an English vision English.内容简介 历史 Web标准 结构和表现 (X)HTML(可扩展超文本置标语言) CSS(层叠式样式表) 可访问性 URLs(页面

2005-03-24 10:50:00 1373

原创 ASCII Code & Extended ASCII Code

ASCIIExtended ASCII

2005-03-22 10:45:00 995

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除