上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: Failed to load JavaHL Library. These are the errors that were encountered: 从网上查看了一下解决办法, 1.选择window--->preferences->Team->SVN->SVN接口 2.选择SVNKit (Pure Java) xxxxxx 如下图所示 阅读全文
posted @ 2012-12-24 10:08 daveztong 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1. Let’s work from your Downloads folder.cd ~/Downloads2. Download the Ubuntu Fonts package from Ubuntu.wget http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip3. Extra the downloaded zip file.unzip ubuntu-font-family-0.80.zip4. Rename the extracted directory. (Not a must)mv ubuntu-font-fami 阅读全文
posted @ 2012-12-22 15:07 daveztong 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Steps:yum install redhat-lsbyum install wgetyum install libXScrnSaverEnable Google YUM repositoryAdd following to /etc/yum.repos.d/google-chrome.repo file:32-bit[google-chrome]name=google-chrome - 32-bitbaseurl=http://dl.google.com/linux/chrome/rpm/stable/i386enabled=1gpgcheck=1gpgkey=https://dl-ssl 阅读全文
posted @ 2012-12-22 12:47 daveztong 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 问题:Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original e 阅读全文
posted @ 2012-12-08 10:46 daveztong 阅读(17971) 评论(0) 推荐(0) 编辑
摘要: Java CollectionTable Of ContentsJava Collections Introduction. 2Overview of Interfaces. 2Iterable. 4Collection. 4Collection子类型... 4Adding and Removing Elements. 5Checking if a Collection Contains a Certain Element. 5Collection Size. 5Iterating a Collection. 5Generic Collections. 6List. 6List Impleme 阅读全文
posted @ 2012-11-19 08:52 daveztong 阅读(2397) 评论(0) 推荐(0) 编辑
摘要: 原文出处:http://blog.chenlb.com/2008/12/install-groovy-eclipse-plugin.html写代码最好还是要个ide,最过学习 groovy。平时用 eclipse 开发 java 程序,写 groovy 还是用 eclipse 吧(虽然目前 groovy 的 eclipse 插件不是最好。)。虽然可以用 update site 来安装插件,但 eclipse 的下载功能有点烂,还是用迅雷下载吧。groovy eclipse 插件下载地址:http://dist.codehaus.org/groovy/distributions/update/G 阅读全文
posted @ 2012-11-18 12:54 daveztong 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 方法:document.getElementById("xx").style.xxx中的所有属性是什么盒子标签和属性对照CSS语法(不区分大小写)JavaScript语法(区分大小写)borderborderborder-bottomborderBottomborder-bottom-colorborderBottomColorborder-bottom-styleborderBottomStyleborder-bottom-widthborderBottomWidthborder-colorborderColorborder-leftborderLeftborder-le 阅读全文
posted @ 2012-11-16 22:24 daveztong 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 使用jquery-blockUI这个插件很容易就能够做出模态的效果。简要介绍一下。下载http://malsup.com/jquery/block/用法堵塞用户的活动:$.blockUI();堵塞用户活动并显示提示信息:$.blockUI({ message: '<h1><img src="busy.gif" /> Just a moment...</h1>' });堵塞用户活动使用特定style:$.blockUI({ css: { backgroundColor: '#f00', color: ' 阅读全文
posted @ 2012-11-16 12:35 daveztong 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 使用carhartl编写的jquery-cookie可以方便的设置cookie。具体用法如下:下载https://github.com/carhartl/jquery-cookie安装放在jquery库的后面:<script src="/path/to/jquery.cookie.js"></script>用法新建cookie:$.cookie('the_cookie', 'the_value');设定有效期7天,作用于整个站点:$.cookie('the_cookie', 'the_value 阅读全文
posted @ 2012-11-16 12:08 daveztong 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 这片随笔简要说以下cookie和domains是咋个回事,涉及到使用javascript和PHP设置cookie。使用jQuery设置domain下面的例子将cookie的名字设置为foo,值为bar,在根路径上设置domain为www.cnblogs.com:$.cookie('foo', 'bar', { path: '/', domain: 'www.cnblogs.com' });使用PHP设置domain相同的例子,但在服务器端设置:setcookie('foo', 'bar', 0, & 阅读全文
posted @ 2012-11-16 10:18 daveztong 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 *2007-12-26 3 */ 4 import java.io.File; 5 import java.io.FileInputStream; 6 import java.io.FileOutputStream; 7 import java.io.IOException; 8 import java.io.InputStream; 9 import java.io.OutputStream; 10 import java.util.Enumeration; 11 12 import org.apache.tools.zip.ZipEntry; 13... 阅读全文
posted @ 2012-10-12 10:22 daveztong 阅读(300) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.15</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> </e 阅读全文
posted @ 2012-09-30 22:13 daveztong 阅读(288) 评论(0) 推荐(0) 编辑
摘要: I use the eclipse webtools plugin, and run my Tomcat from it. It has a republish method that publishes the jars as well (if not, you just clean the directory and republish).In the pom file, you should have the following lines so that the webtools will be supported automatically<build> ... < 阅读全文
posted @ 2012-09-30 15:54 daveztong 阅读(220) 评论(0) 推荐(0) 编辑
摘要: To make the warning go away, open terminal and write:sudo mkdir -p /root/.local/shareAs it so happens the directory which does not exist is a directory which is not supposed to exist in the first place. (~/.local being what it is).Move away your user’s /home/.local/share folder and start gedit.Gedit 阅读全文
posted @ 2012-09-30 12:10 daveztong 阅读(809) 评论(0) 推荐(0) 编辑
摘要: This is guide, howto install Adobe Flash Player Plugin version 11.2 (32-bit and 64-bit) with YUM on Fedora 17/16/15/14/13/12, CentOS 6.3/6.2/6.1/6/5.8 and Red Hat (RHEL) 6.3/6.2/6.1/6/5.8. Using Adobe’s own YUM repository it is very easy also keep up-to-date with Flash Player Plugin. Finally also na 阅读全文
posted @ 2012-09-29 16:19 daveztong 阅读(605) 评论(0) 推荐(0) 编辑
摘要: In my case, the problem was caused by deleting the connection with orphaned document changes.The solution for Linux-Mint:Locate ~/.mysql/workbench/sql_workspaces/your connection name.autosave directoryDelete it.On Windows, the above directory should be located at:C:\Users\Administrator\AppData\Roami 阅读全文
posted @ 2012-09-26 09:12 daveztong 阅读(871) 评论(0) 推荐(0) 编辑
摘要: Quercus的用法其实就是一个Servlet下载Quercus:http://quercus.caucho.com/ (下载war文件,在web-inf/lib/下提取 inject-16.jar resin.jar 两个包,至于mail.jar的话,用到在找)修改web.xml,加入如下servlet映射:1 <servlet>2 <servlet-name>Quercus Servlet</servlet-name>3 <servlet-class>com.caucho.quercus.servlet.QuercusServlet</ 阅读全文
posted @ 2012-09-19 21:35 daveztong 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Spring 3.0.5的,更细颗粒化的缓存设置,更方便的注解,可以具体到把每个方式的返回值做缓存,需要 ehcache-spring-annotations-1.1.xapplicationContext.xml 1 <beans xmlns="http://www.springframework.org/schema/beans" 2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xmlns:aop="http://www.springframework.org/sch 阅读全文
posted @ 2012-09-18 16:49 daveztong 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: DWR是方便使用AJAX连接JS和JAVA的的一个框架,把服务器端 Java 对象的方法公开给 JavaScript 代码。如果是用dwr2.0的jar包,还需要同时导入log4j.jar和commons-loggin.jar,勿忘!!web.xml和dwr.xml放在WEB-INF下!-----------------------------配置web.xml:WEB工程启动的时候会在这个里面找到具体所用到的类的路径,由此进行加载<servlet> <servlet-name> dwr-invoke </servlet-name> <servlet- 阅读全文
posted @ 2012-09-12 16:13 daveztong 阅读(190) 评论(0) 推荐(0) 编辑
摘要: UseDWR`sConvert--DWR的学习可以通过访问文档来得知如何使用DWR的转换器:http://directwebremoting.org/dwr/documentation/server/configuration/dwrxml/converters/index.html下面我们来一步步讲解:1.转换器(convert)用于负责定义Java类型和js类型之间的对应关系,看看文档的说辞:Converters are an integral part of DWR and are responsible for marshaling data between the client an 阅读全文
posted @ 2012-09-12 16:06 daveztong 阅读(1457) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页