java
xxxxxxpp
这个作者很懒,什么都没留下…
展开
-
location.href 和session的问题
一个页面有两个iframe在其中一个iframe页面内访问另一个name=main 的iframe,让main定向到另一个页面用以下的js1.[code="java"]parent.document.getElementById("main").src = "../friendAction!queryAllFriendInfo.fog?type=1"[/code]2.[code...2009-05-21 18:52:45 · 484 阅读 · 0 评论 -
eclipse打开插件
openExplorer一个eclipse小插件——打开当前打开文件所在目录原创 2013-11-06 16:24:18 · 139 阅读 · 0 评论 -
java编码转化
[code="java"] @Test public void testEncode() throws Exception { //GBK编码格式源码路径 String srcDirPath = "d:/zt"; //转为UTF-8编码格式源码路径 String utf8DirPath = "d:/zt1"...原创 2013-11-09 16:46:18 · 80 阅读 · 0 评论 -
ipv6
Window--Preferences--JAVA--Installed JREs--选中JDK--EDIT[code="java"] Deault VM Arguments:-Djava.net.preferIPv4Stack=true[/code]原创 2013-11-24 20:23:53 · 74 阅读 · 0 评论 -
在Windows上与MySQL服务器的连接失败(大数据量) For Windows-based platforms, see Microsoft Knowle...
发生的异常: The driver was unable to create a connection due to an inability to establish the client portion of a socket.This is usually caused by a limit on the number of sockets imposed by the oper...原创 2013-07-16 09:11:57 · 1571 阅读 · 0 评论 -
netbeans插件
Text Popup Menu 在 Windows 7 上,运行在 JDK 7 之上的新安装的 IDE 将不连接到网络。描述:在某些情况下,连接到远程主机时,本地系统的防火墙可能会过滤掉来自网络的响应。在连接到远程主机时,JDK 将先尝试使用 IPv6 然后再尝试使用 IPv4。在使用 IPv6 时,防火墙可能会过滤掉来自主机的否定响应,结果导致 JDK 不会尝试使用 IPv4 连...原创 2013-12-10 22:42:16 · 115 阅读 · 0 评论 -
html 里的回车换行,制表符 引号,\ 等符号的转化
[code="java"]/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. *...原创 2014-06-22 17:17:57 · 1137 阅读 · 0 评论 -
db2学习
[code="java"]LOAD CLIENT FROM 'E:\1\data\ECMS_APPLY.del' OF DEL LOBS FROM 'E:\1\data\' MODIFIED BY LOBSINFILE DELPRIORITYCHAR IMPLIEDDECIMAL INSERT INTO "XXP"."ECMS_APPLY"; LOAD...原创 2014-06-23 11:47:31 · 144 阅读 · 0 评论 -
android
[color=red][size=large]对于 LinearLayout 当 android:orientation="vertical" 时, 只有水平方向的设置才起作用,垂直方向的设置不起作用。即:left,right,center_horizontal 是生效的。 当 android:orientation="horizontal" 时, 只有垂直方向的设置才起作用,水...原创 2016-05-10 14:53:35 · 385 阅读 · 0 评论 -
java 公用库
[size=large]转载本文主要介绍自己在开发过程中总结的一些Java工具类,主要包括SimpleCache——小型缓存、AutoGetDataCache——自动获取新数据的缓存, ArrayUtils——数组工具类、FileUtils——文件操作工具类、JSONUtils——Json工具类、ListUtils——list工具类、MapUtils——map工具类、ObjectUtils——...原创 2013-03-13 10:24:10 · 160 阅读 · 0 评论 -
InetAddress
[code="java"] String ip = ""; InetAddress addr; try { addr = InetAddress.getLocalHost(); ip = addr.getHostAddress().toString(); } catch (Exception e) { e.printStackTrace(); ...原创 2013-03-04 13:59:15 · 69 阅读 · 0 评论 -
转文件编码格式
转[code="java"]@Test public void testConvert() throws Exception { convertEncode(new File("F:\\Workspaces1\\ediorDWEditor"), "GB2312", "utf-8"); } private static void convertEncode(File fil...原创 2012-06-19 19:55:27 · 75 阅读 · 0 评论 -
Java中获取指定URL的输出
[code="java"]import java.io.ByteArrayOutputStream;import java.io.IOException;import java.io.InputStream;import java.net.HttpURLConnection;import java.net.URL;/** * 注:将文件名修改为下面的文件名即可。 *...2009-07-21 19:38:12 · 196 阅读 · 0 评论 -
jBPM4.0中文文档.pdf
jBPM4.0中文文档2009-07-23 10:16:23 · 151 阅读 · 0 评论 -
编 码
Java中的ASCII,Unicode和UTF-8字符编码2008年08月14日 星期四 15:09首先讲一下几种字符的编码方式:1. ASCII码我们知道,在计算机内部,所有的信息最终都表示为一个二进制的字符串。每一个二进制位(bit)有0和1两种状态,因此八个二进制位就可以组合出256种状态,这被称为一个字节(byte)。也就是说,一个字节一共可以用来表示256种不同的状态,每...原创 2009-08-08 00:06:25 · 81 阅读 · 0 评论 -
struts2
原创 2010-09-17 11:48:05 · 171 阅读 · 0 评论 -
lucene compass
[code="java"] PaodingAnalyzer analyzer = new PaodingAnalyzer(); String field = "contents"; QueryParser parser = new QueryParser(field, analyzer); Query query2 = parser.parse(queryStr...原创 2011-09-25 17:39:15 · 64 阅读 · 0 评论 -
sooba xpdf lucene
XPDF使用文档 XPDF版本 3.0.2 日期 2008-11-26 文档版本 V1.0 1、概述 读取PDF文件中的文本内容,可以使用开源项目xpdf。下载地址:http://www.foolabs.com/xpdf/download.html。 注意使用:xpdf-3.02pl2-win32.zip以及xpdf-chinese-simplified.tar.gz(...原创 2010-11-30 11:26:47 · 79 阅读 · 0 评论 -
myeclipse 9 property svn 插件
1、下载最新的SVN包(我下的是1.0.6版):http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240 2、在你的磁盘上任意位置创建文件夹:“myplugins/svn”。名字可以任取,为了方便插件管理,建议名称为“myplugins”。 3、将解压的svn里的两个文件夹...原创 2011-10-07 18:04:02 · 68 阅读 · 0 评论 -
spring 中的bean 大小写
使用spring注释形式注入bean,通过@Component、@Repository、 @Service和@Controller注释类,文档中说“注解如果没有指定bean的名字,默认为小写开头的类名”。例如类名是MyClass,则spring返回myClass的bean名。 但是如果类名...正文使用spring注释形式注入bean,通过@Component、@Repository、 @...原创 2011-07-19 16:45:56 · 960 阅读 · 0 评论 -
JRebel
2. 单独使用JRebel.jar破解版(如在64位下WINDOWS下的Tomcat中使用热部署)的方法如下:在Java的VM arguments 输入如下参数:[code="java"]-noverify-agentpath:D:/dev_env/jrebel/jrebel_running/lib/jrebel64.dll#Linux用这个:-agentpath:...原创 2016-06-02 10:14:28 · 118 阅读 · 0 评论