自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(32)
  • 资源 (8)
  • 收藏
  • 关注

原创 Composite

In computer science, the composite pattern is a partitioning design pattern.Composite allows a group of objects to be treated in the same way as asingle instance of an object. The intent of comp

2009-06-30 15:51:00 497

转载 怎样让搜索引擎收入自己的资源

1.你上传的资源在csdn上 。蜘蛛会自动抓取你的资源.因为,csdn这种大型bbs或类似sina这中网站,baiud和google 的蜘蛛上经常来的。一周内基本上你就要以在baidu或google 找到了。  2.如果自己的网站需要到百度提交:http://www.baidu.com/search/url_submit.html ; google提交:http://www.goog

2009-06-30 12:23:00 552

原创 小问题

1.远程登录命令 mstsc 2.oracle查看该用户名下所有用户表select table_name from user_tables; 3.当点击执行.bat文件一闪而过时,用命令行执行该文件,会提示错误信息4.定义String的listprivate List webResult = Arrays.asList("Larry", "Moe", "Curly"

2009-06-30 12:21:00 370

原创 PHP配置

注意:改httpd.conf时先test再保存1.改documentroot2.添加 关联PHPPHPIniDir "D:/PHP/"LoadModule php5_module "D:/PHP/php5apache2_2.dll"3.添加 关联PHP类型AddType application/x-httpd-php .phpAddType application/

2009-06-30 12:20:00 394

原创 Struts 2.0 学习笔记(3)

1.javabean property ---to use domain object---> object-backed or model-driventhe two methods both have a problem. Now, consider the case whereyour domain object has some sensitive data attributes

2009-06-29 16:39:00 640

原创 eclipse WPT下web工程中的class not found

在一个web工程中,编译好的classes必须都放在WEB-INF下的classes文件夹下,否则可能出现class not found的情况 情景:得到的原始工程中只开放了一部分代码,剩余的classes被打包。结果run on server时出现classes not found的错误,仔细观察后发现找不到的classes在WEB-INF下classes中未发现,拷贝相应的clas

2009-06-29 16:33:00 841

原创 Bridge

The bridge pattern is a design pattern used in software engineering which is meant to "decouple an abstraction from its implementation so that the two can vary independently". The bridge

2009-06-29 15:00:00 484

原创 Adapter

The adapter design pattern translates one interface for a class into a compatible interface. An adapter allows classes to work together that normally could not because ofincompatible int

2009-06-26 16:52:00 461

原创 Struts 2.0 学习笔记(2)

1.Not the least of these would be the automatic data transfer weve discussed.2.Without the important interceptors defined in the defaultStack of thestruts-default package, most of the framework

2009-06-24 17:47:00 480

原创 SUMMARY OF CREATIONAL PATTERNS

· The Factory Pattern is used to choose and return an instance of a classfrom a number of similar classes based on data you provide to thefactory.· The Abstract Factory Pattern is used to return

2009-06-24 17:45:00 469

原创 Prototype

DefinitionSpecify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype. Class Diagram Participan

2009-06-24 17:36:00 887

原创 straight and narrow

老实本分 循规蹈矩the way of proper and honest behavior[同] straight and narrow, strait and narrow[例]he taught his children to keep strictly to the straight and narro case stu

2009-06-24 10:40:00 618

原创 Not the least

not least of =not the least of = a phrase used when you are giving animportant reason for something, or an important example of something部分的;尤其(用于陈述重要理由或举出重要例子)含最高级的否定比较句最常见的就是not the least of这一

2009-06-24 09:41:00 1704

原创 Struts 2.0 学习笔记(1)

1.The framework uses a specific file as the entry point into this large description. This entry point is the struts.xml file. This file, which resides on the Java classpath, must be created by the dev

2009-06-23 17:22:00 516

原创 Builder

The Builder Pattern is a software design pattern.The intention is to abstract steps of construction of objects so thatdifferent implementations of these steps can construct differentrepres

2009-06-23 16:48:00 468

转载 爸妈老了而我还未长大--《Coraline》观后感

  或者说我长大了,只是在父母眼中我永远是个孩子。    当妈妈仍然重复着你要好好学习天天向上,我满脸诚恳的说,她已经连续打了一星期麻将时,我看见站在面前的是一个被人突然识破自己贪玩而害羞的小姑娘,扭捏着不敢看我的眼睛,接着她又变回了那个中年妇女,继续唠叨:我是成年人,家庭工作都照顾好了,不打麻将还能怎样。。。。。。只是从话语中我听出了以前未能体察到的些许脸红。  

2009-06-23 12:22:00 943

原创 Singleton

Common usesThe Abstract Factory, Builder, and Prototype patterns can use Singletons in their implementation.Facade objects are often Singletons because only one Facade object is required.Sta

2009-06-23 09:21:00 509

原创 Abstract Factory

The Abstract Factory pattern is one level of abstraction higher thanthe factory pattern. You can use this pattern when you want to return one ofseveral related classes of objects, each of

2009-06-19 16:06:00 408

原创 Framework

What’s a framework?A framework is a piece of structural software. We say structural because structure is perhaps a larger goal of the framework than any specific functional requirement. Aframework

2009-06-19 09:27:00 422

原创 Factory Method

Intent: Define an interface for creating an object,but let subclasses decide which class to instantiate. Factory Methodlets a class defer instantiation to subclasses.Structure: Participant

2009-06-18 15:03:00 421

转载 制作可执行jar文件【3法】

法1:用winrar或winzip制作可执行jar文件   (http://www.blogjava.net/Andyluo/archive/2004/08/14/31049.html)步骤:1、在应用程序文件根目录(放置class文件的顶层目录)下新建一个META-INF目录,在该目录下新建MANIFEST.MF文件, 文件内容为(列出行号是为了提醒第

2009-06-10 16:25:00 1033

原创 屏幕取坐标程序-用于使用Robot类函数时的坐标确定

import java.awt.Color;import java.awt.Dimension;import java.awt.Font;import java.awt.Graphics;import java.awt.Rectangle;import java.awt.Robot;import java.awt.Point;import java.awt.Toolki

2009-06-10 10:40:00 1093 1

转载 获取屏幕坐标,可用作Robot开发的工具

import java.awt.Dimension;import java.awt.MouseInfo;import java.awt.Point;import java.awt.Robot;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import ja

2009-06-09 17:03:00 2671

转载 Robot类实例

import java.awt.AWTException;import java.awt.Robot;import java.awt.event.KeyEvent;import java.io.IOException;/** *  *//** * @author samuel *  */public class RobotExp { public

2009-06-09 15:38:00 1510

转载 Robot生成桌面拍照

import java.awt.Dimension;import java.awt.Rectangle;import java.awt.Robot;import java.awt.Toolkit;import java.awt.image.BufferedImage;import java.io.File;import javax.imageio.I

2009-06-09 15:35:00 872

转载 利用java实现一个简单的远程监控程序

一般的远程监控软件都是用c或者c++等语言开发的,而使用java如何来实现相同的功能呢。首先我们先介绍一下一个简单的远程监控程序的实现原理。功能一,远程屏幕监视(1) 必须要有监控端与被监控端,而且程序保持启动。(2) 被监控端获取本机的屏幕截屏发图给监控端。(3) 监控端在本地窗口中显示被监控端发送过来的图像。(4) (2)(3)步骤重复执

2009-06-09 15:13:00 10695 1

原创 JML实现控制台界面的MSN客户端(不支持离线发消息)

IM.javaimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.text.SimpleDateFormat;import java.util.Date;import java.util.concurrent.Execu

2009-06-08 17:37:00 2439

原创 javamail实现gmail收发邮件

import java.io.UnsupportedEncodingException;import java.security.Security;import java.util.Properties;import javax.mail.Authenticator;import javax.mail.Folder;import javax.mail.Message;imp

2009-06-08 17:32:00 4191

原创 电影清单

重返十七岁 Done 天使与魔鬼 天神下凡 星际迷航    Done in the cinema 博物馆2     Done 垃圾 遇难大逃亡 Done 不好看 玛丽与我 守望者        Done 变形金刚2   Done in the cinema 仙剑3         Done 剧情令人很郁闷, 不想再多看一眼.学

2009-06-04 17:18:00 724

转载 javamail实例和相关问题解决办法

import java.util.*;import java.io.*;import javax.mail.*;import javax.mail.internet.*;import javax.activation.*;/** * Title: 使用javamail发送邮件 * Description: 演示如何使用javamail包发送电子邮件。这个实例可发送多

2009-06-04 12:16:00 878

转载 jml实现msn操作

package javamsn;import java.text.SimpleDateFormat;import java.util.Date;import net.sf.jml.MsnContact;import net.sf.jml.MsnList;import net.sf.jml.MsnMessen

2009-06-04 11:33:00 1905

原创 口语考试

1.Who do you want to talk with?I want to have a talk with George Bush,the expresident of USA . I want to ask him what he can decide to do by himself as a president. We all know that he can not m

2009-06-01 22:03:00 532

symbian cpp ui小例子

symbian cpp ui ppt控制

2009-09-08

需求分析 参考文件 模板

需求分析 概要设计 参考文本 参考样本 rar

2009-07-27

C++ GUI Programming with QT4第二版

C++ GUI Programming with QT4 第二版

2009-06-25

嵌入式算法课件1-3声音图片dsp加密

嵌入式 算法 嵌入式 算法 嵌入式 算法 嵌入式 算法 嵌入式 算法

2009-05-14

structs bbs

基于structs的bbs系统!!!!!!!!!!!!!!!!!!!!!!!!!!

2009-05-07

蓝海微芯2410手册及bios烧写手册

蓝海微芯2410手册及bios烧写手册 pdf

2009-04-08

servlet例子 写多少字才允许上传

servlet例子 写多少字才允许上传 写多少字才允许上传 写多少字才允许上传写多少字才允许上传写多少字才允许上传写多少字才允许上传写多少字才允许上传写多少字才允许上传写多少字才允许上传

2009-03-03

js 右键菜单

js 右键菜单,直接使用,修改方便

2008-06-01

空空如也

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

TA关注的人

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