原创 下載最新的 Spring

現在下載Spring真是不容易1、在百度裏面搜索 Spring,搜索到 http://www.springsource.org/2、點擊自動跳轉到 http://spring.io/3、點擊頂部的 Proj

原创 Delete sub folder(FileUtils)

public class FileUtils { /** Delete all specified subFolder, e.g. delete all bin directory of c:/testApp. */ publ

原创 JavaScript 字符串連接

function StringBuffer () { this._strings_ = new Array();}StringBuffer.prototype.append = function(str) { this._string

原创 JavaScript 類,對象

[b]1. 構造函數方式[/b]function Car(sColor,iDoors,iMpg) { this.color = sColor; this.doors = iDoors; this.mp

原创 JavaScript 繼承

//父類function ClassA(sColor) { //Define Properties this.color = sColor; this.drivers = new Array("Mike","John"); thi

原创 SVN: RA layer request failed

Q: org.tigris.subversion.javahl.ClientException: RA layer request failedsvn: OPTIONS of 'http://zh

原创 Get IP

<body> <script type="text/javascript"><!-- function GetUrlText(url) { var xmlhttp = new ActiveXObject("Microso

原创 創建 maven 插件

創建 maven 插件:刪除所有資源文件夾 mac 目錄下面所有 grf 文件(target/classes/mac/**/*.grf)裏面的內容:<Property fileURL="src/main/r

原创 Sun HttpServer

/**<pre>Provides a simple high-level Http server API, which can be used to build embedded HTTP servers. Both "http" and

原创 multi-module

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoca

原创 MatchFinder

public class MatchFinder { //static List<FileInfo> matchNames = new ArrayList<FileInfo>(); static List<String> no

原创 Start Jetty Server

import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;import org.mortbay.jetty

原创 Eclipse dropins

You can also use an own extra dropins folder: simply add a parameter into eclipse.ini:-Dorg.eclipse.equ