`
louisling
  • 浏览: 140702 次
  • 性别: Icon_minigender_1
  • 来自: ZhuHai
社区版块
存档分类
最新评论
文章列表

下载最新的 Spring

现在下载Spring真是不容易 1、在百度里面搜索 Spring,搜索到 http://www.springsource.org/ 2、点击自动跳转到 http://spring.io/ 3、点击顶部的 Projects 4、点击下面的 Spring Framework 5、点击那个 猫 图标 (GitHub) 6、到页面下面,点击 Downloading artifacts 下面的那个超链接 downloading Spring artifacts,到页面下面, 7、在 Manually downloading Spring distributions 下面, 点击里面的超链接 http:/ ...
public class FileUtils { /** Delete all specified subFolder, e.g. delete all bin directory of c:/testApp. */ public static void deleteSubFolder(String sPath, String subFoldName, boolean isRecurse) { File file = new File(sPath); File[] files = file.listFiles(); for ...
发现用 Ant 1.7 删除文件夹的时候,必须先删除里面的文件,再删除文件夹。不能直接删除非空文件夹,记录一下。 <project name="MyProject" default="deleteDirs" basedir="."> <description>simple example build file</description> <property name="src" location="src"/> & ...

Spring 2.5 Annotation

Spring 2.5 Annotation Reference:     http://www.ibm.com/developerworks/cn/java/j-lo-spring25-ioc/     http://www.ibm.com/developerworks/cn/java/j-lo-spring25-mvc/     http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-iocannt/     http://www.ibm.com/developerworks/cn/java/     《精通 Spring 2 ...
1. 构造函数方式function Car(sColor,iDoors,iMpg) { this.color = sColor; this.doors = iDoors; this.mpg = iMpg; this.showColor = function() { alert(this.color); }; } Problem: 这种方式会导致每个对象都有自己的 showColor() . 2. 混合的构造函数/原型方式function Car(sColor,iDoors,iMpg) { this.color = sColor; thi ...

JavaScript 继承

//父类 function ClassA(sColor) { //Define Properties this.color = sColor; this.drivers = new Array("Mike","John"); this.showColor = function() { prt(this.color); }; } //父类 function ClassB(sName) { this.name = sName; this.sayName = functi ...
function StringBuffer () { this._strings_ = new Array(); } StringBuffer.prototype.append = function(str) { this._strings_.push(str); }; StringBuffer.prototype.toString = function() { return this._strings_.join(""); }; var str = new StringBuffer(); str.append("Audi ...

Get IP

<body> <script type="text/javascript"> <!-- function GetUrlText(url) { var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); try { xmlhttp.open("get", url, false); xmlhttp.send(); return xmlhttp.re ...
创建 maven 插件: 删除所有资源文件夹 mac 目录下面所有 grf 文件(target/classes/mac/**/*.grf)里面的内容: <Property fileURL="src/main/resources/workspace.prm" id="GraphParameter0"/> <Property fileURL="src/main/resources/workspace.prm" id="GraphParameter1"/> <Property fileU ...
Maven warning [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource Solution: Add the following configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mav ...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupI ...
Flex Builder 3 -  Component Explorer C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\samples\explorer build.bat explorer.html

Eclipse dropins

    博客分类:
  • Java
You can also use an own extra dropins folder: simply add a parameter into eclipse.ini: -Dorg.eclipse.equinox.p2.reconciler.dropins.directory= /your_path/e34shared_dropin
Q:       org.tigris.subversion.javahl.ClientException: RA layer request failed svn: OPTIONS of 'http://zh.abc.org/svn/CAI/CMI/trunk/CMDA_DATA_ACCESS': 200 OK (http://zh.abc.org) A: C:\WINDOWS\system32\drivers\etc\hosts 192.168.1.127 zh.abc.org

MatchFinder

    博客分类:
  • Java
public class MatchFinder { //static List<FileInfo> matchNames = new ArrayList<FileInfo>(); static List<String> nonMatchNames = new ArrayList<String>(); public static void main(String[] args) throws Exception { List<MatchInfo> matchNames = new Ar ...
Global site tag (gtag.js) - Google Analytics